projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c8cde
)
Add placeholder underground tile types
author
Neil
<neil@dip.sun.ac.za>
Thu, 3 Mar 2016 09:46:58 +0000
(11:46 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Thu, 3 Mar 2016 09:46:58 +0000
(11:46 +0200)
koperkapel/loaders/levelloader.py
patch
|
blob
|
history
diff --git
a/koperkapel/loaders/levelloader.py
b/koperkapel/loaders/levelloader.py
index 544777c6aea5dfb60d001857b9769a4bf9920cb8..a8aaa376efba9be55b7af1a7f7c70fab8ef8df18 100644
(file)
--- 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):