From d7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Wed, 10 Apr 2013 23:04:42 +0200 Subject: Converted Being into a Component I did not really care too much about staying consistent with the use of static_casts to Actors since they are only temporary anyway until Actor is a component too. --- src/scripting/luascript.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/scripting/luascript.h') diff --git a/src/scripting/luascript.h b/src/scripting/luascript.h index b7bdde1..b874976 100644 --- a/src/scripting/luascript.h +++ b/src/scripting/luascript.h @@ -69,16 +69,16 @@ class LuaScript : public Script void unref(Ref &ref); - static void getQuestCallback(Being *, + static void getQuestCallback(Entity *, const std::string &value, Script *); - static void getPostCallback(Being *, + static void getPostCallback(Entity *, const std::string &sender, const std::string &letter, Script *); - void processDeathEvent(Being *entity); + void processDeathEvent(Entity *entity); void processRemoveEvent(Entity *entity); -- cgit