Documentation ¶
Index ¶
Constants ¶
View Source
const ( None TurnResultType = iota // empty make error AttackTo // AttackedFrom // Kill // KilledBy // DamagedByTile // DeadByTile // HPDamageFromTrap // SPDamageFromTrap // DropCarryObj // DropMoney // DropMoneyInsteadOfCarryObj // ContagionTo // success ContagionFrom // success ContagionToFail // fail ContagionFromFail // fail TurnResultType_Count int = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TurnResultType ¶
type TurnResultType uint8
func String2TurnResultType ¶
func String2TurnResultType(s string) (TurnResultType, bool)
func (TurnResultType) CommentString ¶
func (e TurnResultType) CommentString() string
func (TurnResultType) String ¶
func (e TurnResultType) String() string
Click to show internal directories.
Click to hide internal directories.