Typo: Verticle to Vertical
This commit is contained in:
parent
a544e37ca9
commit
03529923e9
1 changed files with 2 additions and 2 deletions
|
|
@ -216,7 +216,7 @@ def build_forest(x, y, **kwargs):
|
||||||
return room
|
return room
|
||||||
|
|
||||||
|
|
||||||
def build_verticle_exit(x, y, **kwargs):
|
def build_vertical_exit(x, y, **kwargs):
|
||||||
"""Creates two exits to and from the two rooms north and south."""
|
"""Creates two exits to and from the two rooms north and south."""
|
||||||
# If on the first iteration - Do nothing.
|
# If on the first iteration - Do nothing.
|
||||||
if kwargs["iteration"] == 0:
|
if kwargs["iteration"] == 0:
|
||||||
|
|
@ -257,7 +257,7 @@ def build_horizontal_exit(x, y, **kwargs):
|
||||||
|
|
||||||
# Include your trigger characters and build functions in a legend dict.
|
# Include your trigger characters and build functions in a legend dict.
|
||||||
EXAMPLE2_LEGEND = {("♣", "♠"): build_forest,
|
EXAMPLE2_LEGEND = {("♣", "♠"): build_forest,
|
||||||
("|"): build_verticle_exit,
|
("|"): build_vertical_exit,
|
||||||
("-"): build_horizontal_exit}
|
("-"): build_horizontal_exit}
|
||||||
|
|
||||||
# ---------- END OF EXAMPLES ---------- #
|
# ---------- END OF EXAMPLES ---------- #
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue