- More cleanup
- Added kupos entity and sprites (body, bow) - Finally understood my code
This commit is contained in:
@@ -25,7 +25,7 @@ Collision = {}
|
||||
--]]
|
||||
|
||||
-- can also be called with only ox and oy, where they become the width and height instead
|
||||
function Collision:new(ox,oy,tx,ty)
|
||||
function Collision:New(ox,oy,tx,ty)
|
||||
local o = {isColliding = false, isDisabled = false, isActive = false}
|
||||
|
||||
if tx ~= nil and ty ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user