chore: add level collisions in a specific folder
This commit is contained in:
parent
37fb2c8b74
commit
b4fcd33163
5 changed files with 4 additions and 4 deletions
|
@ -8,9 +8,9 @@ Obj.index = {}
|
||||||
Obj.index["player"] = Obj.Player
|
Obj.index["player"] = Obj.Player
|
||||||
|
|
||||||
Obj.collisions = {}
|
Obj.collisions = {}
|
||||||
Obj.collisions["wall"] = require(cwd .. "wall")
|
Obj.collisions["wall"] = require(cwd .. "collisions.wall")
|
||||||
Obj.collisions["invisible"] = require(cwd .. "invisible")
|
Obj.collisions["invisible"] = require(cwd .. "collisions.invisible")
|
||||||
Obj.collisions["floor"] = require(cwd .. "floor")
|
Obj.collisions["floor"] = require(cwd .. "collisions.floor")
|
||||||
Obj.collisions["textured"] = require(cwd .. "textured")
|
Obj.collisions["textured"] = require(cwd .. "collisions.textured")
|
||||||
|
|
||||||
return Obj
|
return Obj
|
||||||
|
|
Loading…
Reference in a new issue