diff options
author | davidovski <david@davidovski.xyz> | 2024-04-22 18:36:22 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-22 18:36:22 +0100 |
commit | 0c46c616a126569f778b04ea2c7bf04e34664939 (patch) | |
tree | 1a2305eb0c413ac58c1ada4856fe0ec616e126e4 /level.go | |
parent | e4c0edeacb2c5829f864e116b68f6cad175141b3 (diff) |
add spring animation
Diffstat (limited to 'level.go')
-rw-r--r-- | level.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,7 +31,7 @@ func levelStart(g *Game) { } func StartGame(g *Game) { - StartLevel1(g) + StartLevel4(g) } func StartLevel1(g *Game ) { @@ -120,6 +120,7 @@ func StartLevel3(g *Game) { func StartLevel4(g *Game) { g.SetPlacing() + g.toPlace = append(g.toPlace, NewSpike(g, 0, 0)) g.toPlace = append(g.toPlace, NewSpring(g, 0, 0)) g.ClearAll() |