epervier-old/examples/gameplay/moveplayer/actors/init.lua

13 lines
244 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 = {}
Obj.index["player"] = Obj.Explosion
Obj.collisions = {}
return Obj