projects
/
koperkapel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Very crudely hack vehicles into the level
[koperkapel.git]
/
koperkapel
/
roaches.py
diff --git
a/koperkapel/roaches.py
b/koperkapel/roaches.py
index 0d2448216c16a00900759736ed66e32fe975dbcb..b39d189fe669c6571047973feb33f8b7b6e4eecc 100644
(file)
--- a/
koperkapel/roaches.py
+++ b/
koperkapel/roaches.py
@@
-26,6
+26,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):
@@
-52,3
+61,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")