pyherc.ai.simple

Simple AI for flocking creature

Creature will try to find friends, before attacking the player character

FlockingHerbivore

class pyherc.ai.simple.FlockingHerbivore(character)

AI for flocking herbivore Tries to maintain close distance to other animals Seeks out player for combat

act(model)

Trigger this AI to assess the situation and act accordingly

find_direction(start, end)

Find direction from start to end @param start: start location @param end: end location @return: Direction to travel

Table Of Contents

Previous topic

pyherc.ai

Next topic

pyherc.data

This Page