2019-07-26 19:39:32 +02:00
|
|
|
local Obj = {}
|
|
|
|
|
|
|
|
-- On charge toutes les différentes types d'acteurs
|
|
|
|
local cwd = (...):gsub('%.init$', '') .. "."
|
2022-05-19 12:45:20 +02:00
|
|
|
Obj.Player = require(cwd .. "fighters.player")
|
2020-08-16 10:52:00 +02:00
|
|
|
Obj.Ring = require(cwd .. "items.ring")
|
2019-07-26 19:39:32 +02:00
|
|
|
|
|
|
|
Obj.index = {}
|
|
|
|
Obj.index["player"] = Obj.Player
|
|
|
|
|
|
|
|
Obj.collisions = {}
|
2020-08-16 10:52:00 +02:00
|
|
|
Obj.collisions["wall"] = require(cwd .. "collisions.wall")
|
|
|
|
Obj.collisions["invisible"] = require(cwd .. "collisions.invisible")
|
|
|
|
Obj.collisions["floor"] = require(cwd .. "collisions.floor")
|
|
|
|
Obj.collisions["textured"] = require(cwd .. "collisions.textured")
|
|
|
|
Obj.collisions["fakefloor"] = require(cwd .. "collisions.fakefloor")
|
|
|
|
|
|
|
|
Obj.index = {}
|
|
|
|
Obj.index[01] = Obj.Ring
|
|
|
|
Obj.index[02] = Obj.Ring
|
2019-07-26 19:39:32 +02:00
|
|
|
|
|
|
|
return Obj
|