From: Neil Date: Thu, 3 Mar 2016 09:46:58 +0000 (+0200) Subject: Add placeholder underground tile types X-Git-Url: https://git.ctpug.org.za/?p=koperkapel.git;a=commitdiff_plain;h=80836416c2f1ff13a7824d26f2e6b805b2107950 Add placeholder underground tile types --- diff --git a/koperkapel/loaders/levelloader.py b/koperkapel/loaders/levelloader.py index 544777c..a8aaa37 100644 --- a/koperkapel/loaders/levelloader.py +++ b/koperkapel/loaders/levelloader.py @@ -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):