Please enable JavaScript.
Coggle requires JavaScript to display documents.
Ants & Bees (Classes (Place(Object) (Class objects (func init(self,…
Ants & Bees
Classes
AntColony
Class objects
func init(self, strategy, hive, ant_types, create_places, dimensions, food=2)
func configure(self, hive, create_places)
-
-
func deploy_ant(self, place_name, ant_type_name)
func remove_ant(self, place_name)
Place(Object)
Class objects
func init(self, name, exit= None)
-
remove_Insect(self, insect)
-
Inheritances
Water(Place)
class objects
func add_insect(self, insect)
Hive(Place)
class objects
func init(self, assault_plan)
func strategy(self, colony)
Insect(Object)
Class objects
-
-
func init(self, armor, place=None)
func reduce_armor(self, amount)
func action(self, colony)
-
Inheritances
Bee(Insect)
class objects
-
func move_to(self, place)
-
-
-
func action(self, colony)
Ant(Insect)
class objects
-
-
-
-
func can_contain(self, other)
Inheritances
HarvesterAnt(Ant)
class objects
-
-
func action(self, colony)
-
ThrowerAnt(Ant)
class objects
-
-
-
func nearest_bee(self, hive)
func throw_at(self, target)
func action(self, colony)
Inheritances
ShortThrower(ThrowerAnt)
class objects
- 2 more items...
LongThrower(ThrowerAnt)
class objects
- 3 more items...
FireAnt(Ant)
class objects
-
-
-
func reduce_armor(self, amount)
HungryAnt(Ant)
class objects
-
-
-
-
func action(self, colony)
NinjaAnt(Ant)
class objects
-
-
-
func action(self, colony)
-
BodyguardAnt(Ant)
class objects
-
-
-
func contain_ant(self, ant)
func action(self, colony)
Inheritances
TankAnt(BodyguardAnt)
class objects
- 3 more items...
QueenAnt(Ant)
class objects
func reduce_armor(self, amount)
-
-
-
func action(self, colony)
-