This commit is contained in:
Josh Deprez 2021-07-23 13:13:50 +10:00 committed by Josh Deprez
parent 3a19cac212
commit 68b29ab021

View file

@ -16,8 +16,9 @@ type Drawer interface {
// Game implements the ebiten methods using a collection of components. // Game implements the ebiten methods using a collection of components.
type Game struct { type Game struct {
ScreenWidth, ScreenHeight int ScreenWidth int
Components []interface{} ScreenHeight int
Components []interface{}
} }
// Update calls Update on all Updater components. // Update calls Update on all Updater components.