summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/world.lua b/world.lua
index bd3b392..a69b532 100644
--- a/world.lua
+++ b/world.lua
@@ -189,7 +189,6 @@ function World:getNautsPlayable()
end
return nauts
end
-
-- are alive
function World:getNautsAlive()
local nauts = {}
@@ -200,6 +199,15 @@ function World:getNautsAlive()
end
return nauts
end
+-- all of them
+function World:getNautsAll()
+ return self.Nauts
+end
+
+-- get Map name
+function World:getMapName()
+ return self.map.name
+end
-- Event: when player is killed
function World:onNautKilled(naut)