projects
/
koperkapel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ctpug.org.za:koperkapel
[koperkapel.git]
/
koperkapel
/
roaches.py
diff --git
a/koperkapel/roaches.py
b/koperkapel/roaches.py
index 6dedf305fd3b50b96e3da5c2e748b9f32551964e..95353ee18a441bdf947bb4cf07586c41e1faa18b 100644
(file)
--- a/
koperkapel/roaches.py
+++ b/
koperkapel/roaches.py
@@
-33,6
+33,15
@@
class RoachActor(OrientatedSurfActor):
self.surf = self._frames[self._frame]
self.surf = self._frames[self._frame]
+class WorldRoach(object):
+ """A roach proxy with no properties for display on the game level."""
+
+ def __init__(self):
+ self.smart = False
+ self.strong = False
+ self.fast = False
+
+
class RoachFactory:
def __init__(self, suffix, frames=4):
class RoachFactory:
def __init__(self, suffix, frames=4):
@@
-59,3
+68,5
@@
default_roaches = RoachFactory("")
t32_roaches = RoachFactory("_32")
t21_roaches = RoachFactory("_21")
big_roaches = RoachFactory("_big")
t32_roaches = RoachFactory("_32")
t21_roaches = RoachFactory("_21")
big_roaches = RoachFactory("_big")
+roaches_quartet = RoachFactory("_quartet")
+roaches_nonet = RoachFactory("_nonet")