Refactor to use better interfaces and event callbacks.

This commit is contained in:
2024-11-15 16:11:45 -05:00
parent 4ced75d66c
commit cbc4ba5eb3
16 changed files with 1009 additions and 14 deletions

12
gamedata/enemystates.go Normal file
View File

@@ -0,0 +1,12 @@
package gamedata
type EnemyState int
const (
EnemyStateDefault = iota
EnemyStateHit
EnemyStateDying
EnemyStateExploding
EnemyStateDead
EnemyStateMax
)