X-Git-Url: https://git.ctpug.org.za/?p=koperkapel.git;a=blobdiff_plain;f=koperkapel%2Froaches.py;h=95353ee18a441bdf947bb4cf07586c41e1faa18b;hp=6dedf305fd3b50b96e3da5c2e748b9f32551964e;hb=20d1e19f23c04daf107ede8c9fe57b97005a37fd;hpb=dda49d4fadc602bd8bc87137124843994e4c4e36 diff --git a/koperkapel/roaches.py b/koperkapel/roaches.py index 6dedf30..95353ee 100644 --- a/koperkapel/roaches.py +++ b/koperkapel/roaches.py @@ -33,6 +33,15 @@ class RoachActor(OrientatedSurfActor): 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): @@ -59,3 +68,5 @@ default_roaches = RoachFactory("") t32_roaches = RoachFactory("_32") t21_roaches = RoachFactory("_21") big_roaches = RoachFactory("_big") +roaches_quartet = RoachFactory("_quartet") +roaches_nonet = RoachFactory("_nonet")