Rework collision code for future features.

This commit is contained in:
Anna Rose Wiggins 2023-09-30 15:47:26 -04:00
parent f6ae85dcb1
commit bb25e255a3
5 changed files with 27 additions and 29 deletions

View file

@ -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