aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-10-12 08:32:21 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-10-12 08:32:21 -0400
commitb709a392436d4ed17e214cd9e302ddbd23d71c21 (patch)
tree9ad8dd18d26ab6aa907b182170c08f26bea10585 /src/world.cpp
parentdbf47c4e8e7731519bec212419f70e08b139be0f (diff)
more lua scripting
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 9f57b87..6a8dad8 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -353,6 +353,7 @@ void WorldSystem::loader(void)
else if (tname == "Wander") {
auto script = abcd->GetText();
entity.assign<Wander>(script != nullptr ? script : "");
+ //entity.component<Wander>()->script.addFunction("getpos", PlayerSystem::getPosition);
} else if (tname == "Hop")
entity.assign<Hop>();
else if (tname == "Health")