You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/enemies.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Enemies
1
+
1Enemies
2
2
-------
3
3
4
4
In the original game the shape of the "enemies" are defined in a large class and they are created in waves. For this tutorial we keep it simpler. We have some pre-defined enemy-arrangements that repeat themselves.
@@ -13,7 +13,7 @@ Let's first introduce a new type `Enemy`:
13
13
14
14
We add a list of enemies to the game state as well as `enemySpeed` which will increase over time.
0 commit comments