Rework collision code for future features.
This commit is contained in:
parent
f6ae85dcb1
commit
bb25e255a3
5 changed files with 27 additions and 29 deletions
|
@ -11,4 +11,6 @@ class("Ebi").extends(Entity)
|
|||
function Ebi:init()
|
||||
local img = gfx.image.new(10, 10, gfx.kColorBlack)
|
||||
Ebi.super.init(self, img, 5)
|
||||
|
||||
self:setCollidesWithGroupsMask(0x3)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue