29 lines
590 B
Python
29 lines
590 B
Python
|
|
# Documentation for the logic brick base class SCA_ILogicBrick
|
||
|
|
from KX_GameObject import *
|
||
|
|
|
||
|
|
class SCA_ILogicBrick:
|
||
|
|
"""
|
||
|
|
Logic brick base class.
|
||
|
|
"""
|
||
|
|
|
||
|
|
def getOwner():
|
||
|
|
"""
|
||
|
|
Gets the game object associated with this logic brick.
|
||
|
|
|
||
|
|
@rtype KX_GameObject
|
||
|
|
"""
|
||
|
|
def setExecutePriority(priority):
|
||
|
|
"""
|
||
|
|
Sets the priority of this logic brick.
|
||
|
|
|
||
|
|
@type priority: integer
|
||
|
|
@param priority: the priority of this logic brick.
|
||
|
|
"""
|
||
|
|
def getExecutePriority():
|
||
|
|
"""
|
||
|
|
Gets the execution priority of this logic brick.
|
||
|
|
|
||
|
|
@rtype integer
|
||
|
|
@return this logic bricks current priority.
|
||
|
|
"""
|