interface
This commit is contained in:
parent
8e1ddae1d9
commit
fa58f4d573
1 changed files with 10 additions and 10 deletions
20
game/aw.go
20
game/aw.go
|
@ -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{})
|
||||||
|
|
Loading…
Reference in a new issue