sonic-radiance/sonic-radiance.love/game/modules/world/actors/init.lua
2019-07-27 11:33:52 +02:00

14 lines
352 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")
Obj.collisions["invisible"] = require(cwd .. "invisible")
return Obj