adjustmenet hook
This commit is contained in:
@@ -22,14 +22,20 @@ function HookAnchor:New(x,y,hookDistance)
|
||||
end
|
||||
|
||||
function HookAnchor:HandleAnimation()
|
||||
love.graphics.circle(
|
||||
"line",
|
||||
-Camera.pos.x + self.pos.x,
|
||||
-Camera.pos.y + self.pos.y,
|
||||
self.hookDistance
|
||||
)
|
||||
self.body:Animate()
|
||||
self:Draw(self.body)
|
||||
|
||||
local particle_data = {
|
||||
animation = animation.particle.simple,
|
||||
sprite_tint = HEX2RGB("#fed100")
|
||||
}
|
||||
end
|
||||
|
||||
function HookAnchor:DoPhysics()
|
||||
end
|
||||
|
||||
|
||||
function Fairy:Debug()
|
||||
Entity.Debug(self)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user