scripts :: objects :: containers :: ContainerBehaviour :: Class ContainerBehaviour
[hide private]
[frames] | no frames]

Class ContainerBehaviour

source code

fife.fife.InstanceActionListener --+
                                   |
                                  ContainerBehaviour

Instance Methods [hide private]
 
__init__(self, parent=None, agent_layer=None) source code
 
attachToLayer(self, agent_id)
Attaches to a certain layer
source code
 
onInstanceActionFinished(self, instance, action)
What the Actor does when it has finished an action.
source code
 
open(self) source code
 
close(self) source code
Method Details [hide private]

attachToLayer(self, agent_id)

source code 

Attaches to a certain layer

Parameters:
  • agent_id (String) - ID of the layer to attach to.
Returns:
None

onInstanceActionFinished(self, instance, action)

source code 

What the Actor does when it has finished an action. Called by the engine and required for InstanceActionListeners.

Parameters:
  • instance (fife.Instance) - self.agent (the Actor listener is listening for this instance)
  • action (???) - ???
Returns:
None