Add placeholder underground tile types
authorNeil <neil@dip.sun.ac.za>
Thu, 3 Mar 2016 09:46:58 +0000 (11:46 +0200)
committerNeil <neil@dip.sun.ac.za>
Thu, 3 Mar 2016 09:46:58 +0000 (11:46 +0200)
koperkapel/loaders/levelloader.py

index 544777c6aea5dfb60d001857b9769a4bf9920cb8..a8aaa376efba9be55b7af1a7f7c70fab8ef8df18 100644 (file)
@@ -44,9 +44,17 @@ class Floor(RandomizedTile):
 class Wall(RandomizedTile):
     IMGDIR = "wall"
 
+class Underground(RandomizedTile):
+    IMGDIR = "wall"
+
+class Tunnel(RandomizedTile):
+    IMGDIR = "floor"
+
 TILES = {
     "cwall": Wall, # rename this everywhere
     "floor": Floor,
+    "tunnel": Tunnel,
+    "underground": Underground,
 }
 
 class LevelLoader(ResourceLoader):