local Obj = {} -- On charge toutes les différentes types d'acteurs local cwd = (...):gsub('%.init$', '') .. "." Obj.Player = require(cwd .. "player") Obj.Gizmo = require(cwd .. "gizmo") Obj.Ring = require(cwd .. "ring") Obj.ItemBox = require(cwd .. "itembox") Obj.RingBox = require(cwd .. "ringbox") Obj.Encounter = require(cwd .. "encounter") Obj.index = {} Obj.index["player"] = Obj.Player Obj.index["gizmo"] = Obj.Gizmo Obj.index["ring"] = Obj.Ring Obj.index["itembox"] = Obj.ItemBox Obj.index["ringbox"] = Obj.RingBox Obj.index["encounter"] = Obj.Encounter Obj.collisions = {} Obj.collisions["wall"] = require(cwd .. "wall") Obj.collisions["gizmo-collision"] = Obj.Gizmo return Obj