add marching ants
This commit is contained in:
parent
a6336dadc9
commit
f89d79f69d
3 changed files with 5 additions and 0 deletions
BIN
asset_src/ants.aseprite
Normal file
BIN
asset_src/ants.aseprite
Normal file
Binary file not shown.
BIN
assets/ants.png
Normal file
BIN
assets/ants.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 201 B |
|
@ -34,6 +34,11 @@ func (g *Game) Draw(screen *ebiten.Image) {
|
|||
g.Scene.Draw(screen, ebiten.DrawImageOptions{})
|
||||
}
|
||||
|
||||
// Update updates the current scene.
|
||||
func (g *Game) Update() error {
|
||||
return g.Scene.Update()
|
||||
}
|
||||
|
||||
// Layout returns the configured screen width/height.
|
||||
func (g *Game) Layout(outsideWidth, outsideHeight int) (w, h int) {
|
||||
return g.ScreenWidth, g.ScreenHeight
|
||||
|
|
Loading…
Reference in a new issue