summaryrefslogtreecommitdiffstats
path: root/src/script/script.h
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-05-18 17:38:44 +0200
committerkrzys-h <krzys_h@interia.pl>2013-05-18 18:04:48 +0200
commit796cb92ffc7dc03f9cc7107cac5ddb81795d0549 (patch)
treec53eddc06665e251956773f290fdb89440b52ac2 /src/script/script.h
parentd0de6a88ba5095c4d485e281e6fb3e804b0c21b6 (diff)
downloadcolobot-796cb92ffc7dc03f9cc7107cac5ddb81795d0549.tar.gz
colobot-796cb92ffc7dc03f9cc7107cac5ddb81795d0549.tar.bz2
colobot-796cb92ffc7dc03f9cc7107cac5ddb81795d0549.zip
Added object.destroy()
Diffstat (limited to 'src/script/script.h')
-rw-r--r--src/script/script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/script.h b/src/script/script.h
index ae9011b..75f0d72 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -193,9 +193,11 @@ private:
public:
static CBotTypResult cBusy(CBotVar* thisclass, CBotVar* &var);
static CBotTypResult cClassOneFloat(CBotVar* thisclass, CBotVar* &var);
+ static CBotTypResult cClassNull(CBotVar* thisclass, CBotVar* &var);
static bool rBusy(CBotVar* thisclass, CBotVar* var, CBotVar* result, int& exception);
static bool rFactory(CBotVar* thisclass, CBotVar* var, CBotVar* result, int& exception);
+ static bool rDestroy(CBotVar* thisclass, CBotVar* var, CBotVar* result, int& exception);
private:
static bool Process(CScript* script, CBotVar* result, int &exception);