14 lines
322 B
Lua
14 lines
322 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"] = require(cwd .. "player")
|
|
|
|
Obj.collisions = {}
|
|
Obj.collisions["wall"] = require(cwd .. "wall")
|
|
|
|
return Obj
|