Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_SCENE = 1 DEFAULT_SCENE2 = 2 MONSTER_TYPE_NORMAL = 0 MONSTER_TYPE_NPC = 1 SCENE_AOI_GRID_SIZE = 60 )
View Source
const ( ATTR_TYPE_STRENGTH = iota ATTR_TYPE_AGILITY ATTR_TYPE_INTELLIGENCE )
View Source
const ( ENTITY_TYPE_HERO int = iota ENTITY_TYPE_MONSTER ENTITY_TYPE_SPELL )
View Source
const (
KCurHero = "hero"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionState ¶
type ActionState int
const ( ACTION_STATE_IDLE ActionState = iota ACTION_STATE_WALK ACTION_STATE_RUN ACTION_STATE_CHASE //追击 ACTION_STATE_ESCAPE //逃跑 ACTION_STATE_ATTACK ACTION_STATE_DIE )
Click to show internal directories.
Click to hide internal directories.