Documentation
¶
Index ¶
Constants ¶
View Source
const ( PassTurn TurnAction = iota // no action just trigger turn Rebirth // MoveFloor // tower cmd Meditate // rest and recover HP,SP KillSelf // Move // move 8way near tile Attack // attack near 1 tile AttackWide // attack near 3 tile AttackLong // attack 3 tile to direction Pickup // pickup carryobj Drop // drop carryobj Equip // equip equipable carryobj UnEquip // unequip equipable carryobj DrinkPotion // ReadScroll // Recycle // sell carryobj EnterPortal // ActTeleport // TurnAction_Count int = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TurnAction ¶
type TurnAction uint8
func String2TurnAction ¶
func String2TurnAction(s string) (TurnAction, bool)
func (TurnAction) CommentString ¶
func (e TurnAction) CommentString() string
func (TurnAction) SleepBlockAct ¶
func (cmd TurnAction) SleepBlockAct() bool
SleepBlockAct sleep condition prevent act
func (TurnAction) String ¶
func (e TurnAction) String() string
func (TurnAction) TriggerTurn ¶
func (cmd TurnAction) TriggerTurn() bool
TriggerTurn trigger tower/floor turn
Click to show internal directories.
Click to hide internal directories.