def makeHooks(self): ants.Insect.reduce_armor = utils.class_method_wrapper( ants.Insect.reduce_armor, post=dead_insects) ants.FireAnt.reduce_armor = utils.class_method_wrapper( ants.FireAnt.reduce_armor, post=dead_insects) ants.AntColony.remove_ant = utils.class_method_wrapper( ants.AntColony.remove_ant, post=removed_ant)
def makeHooks(self): ants.Insect.reduce_armor = utils.class_method_wrapper(ants.Insect.reduce_armor, post=dead_insects) ants.AntColony.remove_ant = utils.class_method_wrapper(ants.AntColony.remove_ant, post=removed_ant)