| Trees | Index | Help |
|
|---|
| Package svs_demogame :: Module scripts :: Class ScriptStore |
|
This class is used by the ScriptHandler to store data for scripts
between calls in the game loop.
Normally any variables set in a game script are lost after the script has exited.
NOTE: in its current form this is just a wrapper around a dictionary, future implementatiosn may provide some security handling, or allow custom methods to be called on the store.| Method Summary | |
|---|---|
__init__(self)
| |
Removes the named data from the store. | |
Retrieves some data. | |
Stores some data. | |
| Method Details |
|---|
delete(self, name)Removes the named data from the store. |
get(self, name, returnValue=None)Retrieves some data. If the data is not present, the return value can be used as a default. |
set(self, name, value)Stores some data. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:27 2005 | http://epydoc.sf.net |