interface

This commit is contained in:
Josh Deprez 2021-08-27 14:13:55 +10:00
parent 8e1ddae1d9
commit fa58f4d573

View file

@ -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{})