30 lines
350 B
Lua
30 lines
350 B
Lua
|
local shared = {}
|
||
|
|
||
|
|
||
|
--World state.
|
||
|
local world = {}
|
||
|
function world:Advance()
|
||
|
|
||
|
end
|
||
|
|
||
|
function world:Reset()
|
||
|
|
||
|
end
|
||
|
|
||
|
function world:Load( map )
|
||
|
|
||
|
end
|
||
|
|
||
|
function world:AddPlayer( playerID, x, y, stage )
|
||
|
|
||
|
end
|
||
|
|
||
|
function world:RemovePlayer( playerID )
|
||
|
|
||
|
end
|
||
|
|
||
|
function shared.NewWorld()
|
||
|
return setmetatable( {}, {__index = world } )
|
||
|
end
|
||
|
|
||
|
return shared
|