diff --git a/engine/game.go b/engine/game.go index 5bef50b..00c1be2 100644 --- a/engine/game.go +++ b/engine/game.go @@ -16,8 +16,9 @@ type Drawer interface { // Game implements the ebiten methods using a collection of components. type Game struct { - ScreenWidth, ScreenHeight int - Components []interface{} + ScreenWidth int + ScreenHeight int + Components []interface{} } // Update calls Update on all Updater components.