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

Class SCA_ILogicBrick

source code

Known Subclasses:

Base class for all logic bricks.

Instance Methods [hide private]
KX_GameObject
getOwner()
Gets the game object associated with this logic brick.
source code
 
setExecutePriority(priority)
Sets the priority of this logic brick.
source code
integer
getExecutePriority()
Gets the execution priority of this logic brick.
source code
Method Details [hide private]

setExecutePriority(priority)

source code 

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 (integer) - the priority of this logic brick.

getExecutePriority()

source code 

Gets the execution priority of this logic brick.

Returns: integer
this logic bricks current priority.