aiplan

package
v0.0.0-...-d7572e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	None           AIPlan = iota //
	Chat                         //
	StrollAround                 //
	Move2Dest                    //
	Revenge                      //
	UsePortal                    //
	MoveToRecycler               //
	RechargeSafe                 //
	RechargeCan                  //
	PickupCarryObj               //
	Equip                        //
	UsePotion                    //
	Attack                       //
	MoveStraight3                //
	MoveStraight5                //

	AIPlan_Count int = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AIPlan

type AIPlan uint8

func String2AIPlan

func String2AIPlan(s string) (AIPlan, bool)

func (AIPlan) Color24

func (ct AIPlan) Color24() htmlcolors.Color24

func (AIPlan) CommentString

func (e AIPlan) CommentString() string

func (AIPlan) String

func (e AIPlan) String() string

type PlanList

type PlanList []AIPlan

func (PlanList) Dup

func (pl PlanList) Dup() PlanList

func (PlanList) FindPos

func (pl PlanList) FindPos(p AIPlan) int

func (PlanList) Front2Last

func (pl PlanList) Front2Last()

pop current and push back

func (PlanList) GetCurrentPlan

func (pl PlanList) GetCurrentPlan() AIPlan

get front plan

func (PlanList) GetFront

func (pl PlanList) GetFront() AIPlan

func (PlanList) GetLast

func (pl PlanList) GetLast() AIPlan

func (PlanList) Move2Front

func (pl PlanList) Move2Front(p AIPlan) bool

move p to front

func (PlanList) String

func (pl PlanList) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL