epervier-old/examples/gameplay/moveplayer/actors/init.lua
2019-05-01 17:20:31 +02:00

13 lines
289 B
Lua

local Obj = {}
-- On charge toutes les différentes types d'acteurs
local cwd = (...):gsub('%.init$', '') .. "."
Obj.Player = require(cwd .. "player")
Obj.index = {}
Obj.index["player"] = Obj.Player
Obj.collisions = {}
Obj.collisions["wall"] = require(cwd .. "wall")
return Obj