diff options
| author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-08-20 10:48:20 +0000 |
|---|---|---|
| committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-08-20 10:48:20 +0000 |
| commit | 2e131bd3cbb2acb6ef52e7ad85f354ede543a392 (patch) | |
| tree | 273b131f076989d6e7bf2f9b6b2a1cf07fcceba9 /src/scripting/script.hpp | |
| parent | dde3886a5067d1b49ac8ad50383c388f469978b3 (diff) | |
| download | manaserv-2e131bd3cbb2acb6ef52e7ad85f354ede543a392.tar.gz manaserv-2e131bd3cbb2acb6ef52e7ad85f354ede543a392.tar.xz manaserv-2e131bd3cbb2acb6ef52e7ad85f354ede543a392.zip | |
Defined two helper functions to abstract away money being available under
inventory index 0.
Diffstat (limited to 'src/scripting/script.hpp')
| -rw-r--r-- | src/scripting/script.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/scripting/script.hpp b/src/scripting/script.hpp index 65fc004..963c51f 100644 --- a/src/scripting/script.hpp +++ b/src/scripting/script.hpp @@ -48,8 +48,14 @@ class Script */ static Script *create(std::string const &engine); + /** + * Constructor. + */ Script(): mMap(NULL) {} + /** + * Destructor. + */ virtual ~Script() {} /** @@ -91,7 +97,7 @@ class Script * Pushes a pointer argument to a game entity. * The interface can pass the pointer as an opaque value to the * scripting engine, if needed. This value will usually be passed - * by the script to some callabck functions. + * by the script to some callback functions. */ virtual void push(Thing *) = 0; |
