Module SCA_ILogicBrick :: Class SCA_ILogicBrick

Class SCA_ILogicBrick

Known Subclasses:

Base class for all logic bricks.

Instance Methods
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.
Instance Variables
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first).
KX_GameObject or None in exceptional cases. owner
The game object this logic brick is attached to (read only).
Method Details

getExecutePriority()

 

Gets the execution priority of this logic brick.

Deprecated: Use the "executePriority" property instead.

Returns: integer
this logic bricks current priority.

getOwner()

 

Gets the game object associated with this logic brick.

Deprecated: Use the "owner" property instead.

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.

Deprecated: Use the "executePriority" property instead.

Parameters:
  • priority (integer) - the priority of this logic brick.