1
# $Id: SCA_ILogicBrick.py 15444 2008-07-05 17:05:05Z lukep $
2
# Documentation for the logic brick base class SCA_ILogicBrick
3
from KX_GameObject import *
7
Base class for all logic bricks.
12
Gets the game object associated with this logic brick.
14
@rtype: L{KX_GameObject}
16
def setExecutePriority(priority):
18
Sets the priority of this logic brick.
20
This determines the order controllers are evaluated, and actuators are activated.
21
Bricks with lower priority will be executed first.
23
@type priority: integer
24
@param priority: the priority of this logic brick.
26
def getExecutePriority():
28
Gets the execution priority of this logic brick.
31
@return: this logic bricks current priority.