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" "github.com/hajimehoshi/ebiten/v2/inpututil"
) )
var ( var _ interface {
_ engine.Identifier = &Awakeman{} engine.Identifier
_ engine.Drawer = &Awakeman{} // provided by Sprite engine.Drawer // provided by Sprite
_ engine.DrawOrderer = &Awakeman{} // provided by Sprite engine.DrawOrderer // provided by Sprite
_ engine.Disabler = &Awakeman{} engine.Disabler
_ engine.Hider = &Awakeman{} // provided by Sprite engine.Hider // provided by Sprite
_ engine.Prepper = &Awakeman{} engine.Prepper
_ engine.Scanner = &Awakeman{} engine.Scanner
_ engine.Updater = &Awakeman{} engine.Updater
) } = &Awakeman{}
func init() { func init() {
gob.Register(&Awakeman{}) gob.Register(&Awakeman{})