epervier-old/examples/gameplay/action3D/actors/init.lua
2019-07-20 16:55:06 +02:00

15 lines
358 B
Lua

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