blender/source/gameengine/PyDoc/SCA_ILogicBrick.py

30 lines
597 B
Python
Raw Normal View History

# $Id$
# 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.
"""