Refactor to use better interfaces and event callbacks.
This commit is contained in:
12
gamedata/enemystates.go
Normal file
12
gamedata/enemystates.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package gamedata
|
||||
|
||||
type EnemyState int
|
||||
|
||||
const (
|
||||
EnemyStateDefault = iota
|
||||
EnemyStateHit
|
||||
EnemyStateDying
|
||||
EnemyStateExploding
|
||||
EnemyStateDead
|
||||
EnemyStateMax
|
||||
)
|
||||
Reference in New Issue
Block a user