mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
init commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package constant
|
||||
|
||||
var LifeStateConst *LifeState
|
||||
|
||||
type LifeState struct {
|
||||
LIFE_NONE uint16
|
||||
LIFE_ALIVE uint16
|
||||
LIFE_DEAD uint16
|
||||
LIFE_REVIVE uint16
|
||||
}
|
||||
|
||||
func InitLifeStateConst() {
|
||||
LifeStateConst = new(LifeState)
|
||||
|
||||
LifeStateConst.LIFE_NONE = 0
|
||||
LifeStateConst.LIFE_ALIVE = 1
|
||||
LifeStateConst.LIFE_DEAD = 2
|
||||
LifeStateConst.LIFE_REVIVE = 3
|
||||
}
|
||||
Reference in New Issue
Block a user