From 0c46c616a126569f778b04ea2c7bf04e34664939 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 22 Apr 2024 18:36:22 +0100 Subject: add spring animation --- level.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'level.go') diff --git a/level.go b/level.go index f52c01b..ff0543a 100644 --- a/level.go +++ b/level.go @@ -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() -- cgit v1.2.1