last_light/game/state/game_state.go

13 lines
227 B
Go
Raw Normal View History

2024-04-24 17:11:33 +03:00
package state
import (
2024-05-06 20:43:35 +03:00
"mvvasilev/last_light/engine"
2024-06-06 23:17:22 +03:00
"mvvasilev/last_light/game/systems"
2024-04-24 17:11:33 +03:00
)
type GameState interface {
2024-06-06 23:17:22 +03:00
InputContext() systems.InputContext
2024-04-24 17:11:33 +03:00
OnTick(dt int64) GameState
2024-05-06 20:43:35 +03:00
CollectDrawables() []engine.Drawable
2024-04-24 17:11:33 +03:00
}