Module SCA_ILogicBrick :: Class SCA_ILogicBrick
[frames | no frames]

Class SCA_ILogicBrick

Known Subclasses:
SCA_IActuator, SCA_IController, SCA_ISensor

Base class for all logic bricks.
Method Summary
integer getExecutePriority()
Gets the execution priority of this logic brick.
KX_GameObject getOwner()
Gets the game object associated with this logic brick.
  setExecutePriority(priority)
Sets the priority of this logic brick.

Method Details

getExecutePriority()

Gets the execution priority of this logic brick.
Returns:
this logic bricks current priority.
           (type=integer)

getOwner()

Gets the game object associated with this logic brick.
Returns:
KX_GameObject

setExecutePriority(priority)

Sets the priority of this logic brick.

This determines the order controllers are evaluated, and actuators are activated. Bricks with lower priority will be executed first.
Parameters:
priority - the priority of this logic brick.
           (type=integer)

Generated by Epydoc 2.1 on Thu Feb 1 00:12:33 2007 http://epydoc.sf.net