chore: merge speed and gspeed
This commit is contained in:
parent
8dd4e7ba62
commit
0d33d8b9c8
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@ function Battler:new(world, x, y, z, owner)
|
|||
Battler.super.new(self, world, x, y, z)
|
||||
|
||||
self.isBattler = true
|
||||
self.speed = 3
|
||||
self.isActive = false
|
||||
self.debugActiveTimer = 0
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ function Hero:updateAnimation(dt)
|
|||
end
|
||||
end
|
||||
|
||||
self:setCustomSpeed(self.gspeed * 160 * dt)
|
||||
self:setCustomSpeed(self.speed * 160 * dt)
|
||||
end
|
||||
|
||||
function Hero:getNewAnimation(animation)
|
||||
|
|
Loading…
Reference in a new issue