diff options
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/script.cpp b/src/script.cpp index da365e1..cf5b2dd 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -131,9 +131,10 @@ void ScriptSystem::scriptExport(void) sol::constructors<World(sol::object), World(void)>(), "Generate", &World::generate, "Seed", sol::property(&World::setSeed, &World::getSeed), - "Layers", sol::property(&World::setLayers, &World::getLayers), "setData", &World::setData, - "registerMaterial", &World::registerMaterial); + "registerMaterial", &World::registerMaterial, + "setSize", &World::setSize, + "getSize", &World::getSize); auto gamespace = lua["game"].get_or_create<sol::table>(); |