Package svs_simulation :: Package behaviours :: Module behaviourlib :: Class BehaviourHandler
[show private | hide private]
[frames | no frames]

Class BehaviourHandler


Maintains a set of behaviours and manages access to them.
Method Summary
  __init__(self, agent, eventCentre)
  addBehaviour(self, behaviour)
Adds behaviour for handling making sure that it is not already present.
  handleInputEvent(self, inputEvent)
Receives input event and triggers corresponding behaviours.
  __addToTriggerGroup(self, trigger, behaviour)
Adds behaviour to trigger group.

Method Details

addBehaviour(self, behaviour)

Adds behaviour for handling making sure that it is not already present.

handleInputEvent(self, inputEvent)

Receives input event and triggers corresponding behaviours.

__addToTriggerGroup(self, trigger, behaviour)

Adds behaviour to trigger group.

This is a private method called by BehaviourHandler.addBehaviour.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 http://epydoc.sf.net