mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
Remove an unneeded variable
This commit is contained in:
parent
a3c07b1d36
commit
4fc359e08f
@ -61,7 +61,6 @@ func (sprite *Sprite) Update() {
|
||||
type Sprites struct {
|
||||
ebitenTexture graphics.Texture
|
||||
sprites []*Sprite
|
||||
angle int
|
||||
}
|
||||
|
||||
func NewSprites() *Sprites {
|
||||
@ -103,7 +102,6 @@ func (game *Sprites) Update() {
|
||||
for _, sprite := range game.sprites {
|
||||
sprite.Update()
|
||||
}
|
||||
game.angle++
|
||||
}
|
||||
|
||||
func (game *Sprites) Draw(g graphics.GraphicsContext, offscreen graphics.Texture) {
|
||||
|
Loading…
Reference in New Issue
Block a user