sort interfaces
This commit is contained in:
parent
2f372d10d4
commit
f8665c82be
1 changed files with 5 additions and 5 deletions
|
@ -18,6 +18,11 @@ type Drawer interface {
|
|||
Draw(screen *ebiten.Image, opts ebiten.DrawImageOptions)
|
||||
}
|
||||
|
||||
// DrawOrderer is used to reorder layers.
|
||||
type DrawOrderer interface {
|
||||
DrawOrder() float64
|
||||
}
|
||||
|
||||
// Identifier components have a sense of self. This makes it easier for
|
||||
// components to find and interact with one another.
|
||||
type Identifier interface {
|
||||
|
@ -44,8 +49,3 @@ type Scanner interface {
|
|||
type Updater interface {
|
||||
Update() error
|
||||
}
|
||||
|
||||
// DrawOrderer is used to reorder layers.
|
||||
type DrawOrderer interface {
|
||||
DrawOrder() float64
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue