Remove an unneeded variable

This commit is contained in:
Hajime Hoshi 2013-06-22 02:45:10 +09:00
parent a3c07b1d36
commit 4fc359e08f

View File

@ -61,7 +61,6 @@ func (sprite *Sprite) Update() {
type Sprites struct { type Sprites struct {
ebitenTexture graphics.Texture ebitenTexture graphics.Texture
sprites []*Sprite sprites []*Sprite
angle int
} }
func NewSprites() *Sprites { func NewSprites() *Sprites {
@ -103,7 +102,6 @@ func (game *Sprites) Update() {
for _, sprite := range game.sprites { for _, sprite := range game.sprites {
sprite.Update() sprite.Update()
} }
game.angle++
} }
func (game *Sprites) Draw(g graphics.GraphicsContext, offscreen graphics.Texture) { func (game *Sprites) Draw(g graphics.GraphicsContext, offscreen graphics.Texture) {