diff --git a/game/aw.go b/game/aw.go index 5a7554b..1a2dbad 100644 --- a/game/aw.go +++ b/game/aw.go @@ -10,16 +10,16 @@ import ( "github.com/hajimehoshi/ebiten/v2/inpututil" ) -var ( - _ engine.Identifier = &Awakeman{} - _ engine.Drawer = &Awakeman{} // provided by Sprite - _ engine.DrawOrderer = &Awakeman{} // provided by Sprite - _ engine.Disabler = &Awakeman{} - _ engine.Hider = &Awakeman{} // provided by Sprite - _ engine.Prepper = &Awakeman{} - _ engine.Scanner = &Awakeman{} - _ engine.Updater = &Awakeman{} -) +var _ interface { + engine.Identifier + engine.Drawer // provided by Sprite + engine.DrawOrderer // provided by Sprite + engine.Disabler + engine.Hider // provided by Sprite + engine.Prepper + engine.Scanner + engine.Updater +} = &Awakeman{} func init() { gob.Register(&Awakeman{})