2019-04-28 17:07:39 +02:00
|
|
|
local Obj = {}
|
|
|
|
|
|
|
|
-- On charge toutes les différentes types d'acteurs
|
|
|
|
local cwd = (...):gsub('%.init$', '') .. "."
|
|
|
|
|
2019-04-29 16:13:09 +02:00
|
|
|
Obj.Player = require(cwd .. "player")
|
|
|
|
|
2019-04-28 17:07:39 +02:00
|
|
|
Obj.index = {}
|
2019-04-29 16:13:09 +02:00
|
|
|
Obj.index["player"] = require(cwd .. "player")
|
2019-04-28 17:07:39 +02:00
|
|
|
|
|
|
|
Obj.collisions = {}
|
2019-04-29 16:13:09 +02:00
|
|
|
Obj.collisions["wall"] = require(cwd .. "wall")
|
2019-04-28 17:07:39 +02:00
|
|
|
|
|
|
|
return Obj
|