projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be1258
)
fixed random tile rotationa nd made OrientatedTile inherit fromTile
author
adrianna
<adrianna.pinska@gmail.com>
Thu, 3 Mar 2016 15:21:50 +0000
(17:21 +0200)
committer
adrianna
<adrianna.pinska@gmail.com>
Thu, 3 Mar 2016 15:21:50 +0000
(17:21 +0200)
koperkapel/loaders/levelloader.py
patch
|
blob
|
history
diff --git
a/koperkapel/loaders/levelloader.py
b/koperkapel/loaders/levelloader.py
index 8e47b5c150a31e6a7a8221fe7c2187436deb8325..a4b5b6f8dcaa12d7b6d0efeccc75168dd9949df8 100644
(file)
--- a/
koperkapel/loaders/levelloader.py
+++ b/
koperkapel/loaders/levelloader.py
@@
-18,9
+18,7
@@
class Tile:
raise NotImplementedError()
return images.load(os.path.join(cls.TILESET, cls.IMG))
-class OrientatedTile:
- IMG = None
- TILESET = None
+class OrientatedTile(Tile):
ANGLE = None
@classmethod
@@
-36,7
+34,7
@@
class OrientatedTile:
class RandomizedTile(Tile):
IMGDIR = None
TILESET = None
- ROTATE =
Non
e
+ ROTATE =
Tru
e
@classmethod
def image(cls, neighbors):