fix(visuals): update sprites
This commit is contained in:
parent
f63f38239e
commit
a88fb44f07
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@ function Visual:_removeVisual()
|
|||
end
|
||||
end
|
||||
|
||||
function Visual:_updateVisual(dt)
|
||||
if (self.visualMode == "sprite") then
|
||||
self.visual:update(dt)
|
||||
end
|
||||
end
|
||||
|
||||
function Visual:_getShapeData(mode)
|
||||
local position = self.position:clone()
|
||||
local dimensions = {
|
||||
|
|
Loading…
Add table
Reference in a new issue