summaryrefslogtreecommitdiff
path: root/src/scripting/luautil.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-03 14:32:57 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-04-03 21:52:03 +0200
commit4b57962ee4c10e48956c2888199605bebdb17b8f (patch)
tree261b141a1ad61a64e93a7b99a8c68debfb48d055 /src/scripting/luautil.h
parent4a8080dcf73dab2b6e62b8500fec3bb996bcbf17 (diff)
downloadmanaserv-4b57962ee4c10e48956c2888199605bebdb17b8f.tar.gz
manaserv-4b57962ee4c10e48956c2888199605bebdb17b8f.tar.bz2
manaserv-4b57962ee4c10e48956c2888199605bebdb17b8f.tar.xz
manaserv-4b57962ee4c10e48956c2888199605bebdb17b8f.zip
Moved the Monster class to a Component
Things done: - Allowed to create new Attributes outside of the protected scope of Being - Moved Monster to MonsterComponent - Some minor cleanup in the Attribute setting code of monsters
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r--src/scripting/luautil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h
index dd63c0f7..e76a15a1 100644
--- a/src/scripting/luautil.h
+++ b/src/scripting/luautil.h
@@ -43,7 +43,6 @@ class Entity;
class ItemClass;
class MapComposite;
class MapObject;
-class Monster;
class MonsterClass;
class StatusEffect;
@@ -169,14 +168,14 @@ Script * getScript(lua_State *s);
Being * getBeing(lua_State *s, int p);
Character * getCharacter(lua_State *s, int p);
ItemClass * getItemClass(lua_State *s, int p);
-Monster * getMonster(lua_State *s, int p);
+Being * getMonster(lua_State *s, int p);
MonsterClass * getMonsterClass(lua_State *s, int p);
Being * getNpc(lua_State *s, int p);
Being * checkBeing(lua_State *s, int p);
Character * checkCharacter(lua_State *s, int p);
ItemClass * checkItemClass(lua_State *s, int p);
-Monster * checkMonster(lua_State *s, int p);
+Being * checkMonster(lua_State *s, int p);
MonsterClass * checkMonsterClass(lua_State *s, int p);
Being * checkNpc(lua_State *s, int p);
int checkSkill(lua_State *s, int p);