2004-05-30 11:09:46 +00:00
|
|
|
# $Id$
|
2004-05-24 07:49:50 +00:00
|
|
|
# Documentation for KX_GameActuator
|
2004-06-02 12:43:27 +00:00
|
|
|
from SCA_IActuator import *
|
|
|
|
|
|
|
|
class KX_GameActuator(SCA_IActuator):
|
|
|
|
"""
|
|
|
|
The game actuator loads a new .blend file, restarts the current .blend file or quits the game.
|
|
|
|
"""
|
|
|
|
def getFile():
|
|
|
|
"""
|
|
|
|
Returns the filename of the new .blend file to load.
|
|
|
|
|
|
|
|
@rtype: string
|
|
|
|
"""
|
|
|
|
def setFile(filename):
|
|
|
|
"""
|
|
|
|
Sets the new .blend file to load.
|
|
|
|
|
|
|
|
@param filename: The file name this actuator will load.
|
|
|
|
@type filename: string
|
|
|
|
"""
|
2004-05-24 07:49:50 +00:00
|
|
|
|