Skip to content

Commit ce94ec1

Browse files
committed
Update doc/enemies.adoc
1 parent 9ae7bdd commit ce94ec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/enemies.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Enemies
1+
1Enemies
22
-------
33

44
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`:
1313
1414
We add a list of enemies to the game state as well as `enemySpeed` which will increase over time.
1515

16-
{% codesnippet "https://raw.githubusercontent.com/macrozone/elm-hexagon-tutorial/chapter/enemies/src/Hexagon.elm", lines="36:50", language="elm" %}{% endcodesnippet %}
16+
{% codesnippet "https://raw.githubusercontent.com/macrozone/elm-hexagon-tutorial/chapter/enemies/src/Hexagon.elm", lines="31:45", language="elm" %}{% endcodesnippet %}
1717

1818
We also need to add new initial states for our game:
1919

0 commit comments

Comments
 (0)