epervier-old/examples/scenes/gameplay/moveplayer3D/actors/init.lua

14 lines
289 B
Lua
Raw Normal View History

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