Package svs_demogame :: Module base_entities :: Class ScriptableEntity
[show private | hide private]
[frames | no frames]

Class ScriptableEntity

Known Subclasses:
Agent, TerrainArea

Method Summary
  __init__(self)
  clearScripts(self)
Clears scripts associated with entity.
  executeScriptOnSelf(self)
Executes the current script on the entity itself.
  getScript(self, revNum)
Returns script associated with entity.
  getScriptCode(self, revNum)
Returns source code for script associated with entity.
  getScriptIdentifier(self)
Returns a string name for the object that can be used by the ScriptHandler.
  getScriptRevisionLog(self)
Returns revisions log for script associated with entity.
  setScript(self, script)
Sets current script associated with entity.

Method Details

clearScripts(self)

Clears scripts associated with entity.

executeScriptOnSelf(self)

Executes the current script on the entity itself.

getScript(self, revNum=-1)

Returns script associated with entity.

getScriptCode(self, revNum=-1)

Returns source code for script associated with entity.

getScriptIdentifier(self)

Returns a string name for the object that can be used by the ScriptHandler.

Overridden by extending class.

getScriptRevisionLog(self)

Returns revisions log for script associated with entity.

setScript(self, script)

Sets current script associated with entity.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:24 2005 http://epydoc.sf.net