diff --git a/code/objects.lua b/code/objects.lua index e31c293..dc0d270 100644 --- a/code/objects.lua +++ b/code/objects.lua @@ -33,14 +33,6 @@ function isThereObjectAt(x,y,objectType) return false end -function isThereCollisionAt(x,y) - if x >= 0 and x < #CollisionTable - and y >= 0 and y < #CollisionTable[0] then - return CollisionTable[math.floor(y)][math.floor(x)] - end - return false -end - -- flags function setCollisionFlags() local Check = {