chore: merge speed and gspeed

This commit is contained in:
Kazhnuz 2021-08-07 00:04:49 +02:00
parent 8dd4e7ba62
commit 0d33d8b9c8
2 changed files with 1 additions and 2 deletions

View file

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

View file

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