Module KX_ParentActuator
[hide private]
[frames] | no frames]

Source Code for Module KX_ParentActuator

 1  # $Id: KX_ParentActuator.py 2615 2004-06-02 12:43:27Z kester $
 
 2  # Documentation for KX_ParentActuator
 
 3  from SCA_IActuator import * 
 4  
 
5 -class KX_ParentActuator(SCA_IActuator):
6 """ 7 The parent actuator can set or remove an objects parent object. 8 """
9 - def setObject(object):
10 """ 11 Sets the object to set as parent. 12 13 Object can be either a L{KX_GameObject} or the name of the object. 14 15 @type object: L{KX_GameObject}, string or None 16 """
17 - def getObject(name_only = 1):
18 """ 19 Returns the name of the object to change to. 20 @type name_only: bool 21 @param name_only: optional argument, when 0 return a KX_GameObject 22 @rtype: string, KX_GameObject or None if no object is set 23 """
24