added player loop detection, loose level if last player loops
This commit is contained in:
@@ -5,6 +5,9 @@ import "github.com/hajimehoshi/ebiten/v2"
|
||||
type Player struct {
|
||||
IsPrimary bool
|
||||
Sprites []*ebiten.Image
|
||||
LoopPos *Position
|
||||
LoopStart bool
|
||||
LoopCount int
|
||||
}
|
||||
|
||||
func (player *Player) SwitchSprite() *ebiten.Image {
|
||||
|
||||
Reference in New Issue
Block a user