def __init__(self, bullet, resource_mgr): # Call the base class constructor to init the State State.__init__(self, "seeking") # Set the survivor that this State will manipulate self.bullet = bullet self.resource_mgr = resource_mgr self.zombie_id = None
def __init__(self, graveyard, spawn_rate, resource_mgr): # Call the base class constructor to init the State State.__init__(self, "spawning") # Set the entity that this State will manipulate self.graveyard = graveyard self.spawn_rate = spawn_rate self.resource_mgr = resource_mgr self.next_spawn = None
def __init__(self, blood): # Call the base class constructor to init the State State.__init__(self, "fading") # Set the survivor that this State will manipulate self.blood = blood
def __init__(self, survivor, resource_mgr): # Call the base class constructor to init the State State.__init__(self, "attacking") # Set the survivor that this State will manipulate self.survivor = survivor self.resource_mgr = resource_mgr
def __init__(self, survivor, dead_image): # Call the base class constructor to init the State State.__init__(self, "dead") # Set the survivor that this State will manipulate self.survivor = survivor self.dead_image = dead_image
def __init__(self, survivor): # Call the base class constructor to init the State State.__init__(self, "seeking") # Set the survivor that this State will manipulate self.survivor = survivor self.supplies_id = None
def __init__(self, survivor): # Call the base class constructor to init the State State.__init__(self, "exploring") # Set the survivor that this State will manipulate self.survivor = survivor
def __init__(self, zombie, resource_mgr): # Call the base class constructor to init the State State.__init__(self, "feeding") # Set the Zombie that this State will manipulate self.zombie = zombie self.resource_mgr = resource_mgr
def __init__(self, zombie): State.__init__(self, "seeking") self.zombie = zombie
def __init__(self, zombie): # Call the base class constructor to init the State State.__init__(self, "wandering") # Set the Zombie that this State will manipulate self.zombie = zombie