sonic-radiance/sonic-radiance.love/game/modules/world/actors/init.lua

14 lines
289 B
Lua
Raw Permalink Normal View History

2019-07-26 19:39:32 +02:00
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