1
0
Fork 0

feat: add basic state machine implementation

This commit is contained in:
Henrik Hautakoski 2025-09-21 12:15:17 +02:00
parent ceb4cfad40
commit 75b4981566
3 changed files with 82 additions and 0 deletions

8
game/state/handler.go Normal file
View file

@ -0,0 +1,8 @@
package state
type Handler interface {
Enter()
Exit()
Update(transitioner Transitioner, delta float32)
Render()
}