2019-04-07 17:00:47 +02:00
|
|
|
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
|
2019-04-07 17:00:47 +02:00
|
|
|
|
|
|
|
Obj.collisions = {}
|
2019-05-01 17:20:31 +02:00
|
|
|
Obj.collisions["wall"] = require(cwd .. "wall")
|
2019-04-07 17:00:47 +02:00
|
|
|
|
|
|
|
return Obj
|