More Rubocopping

This commit is contained in:
Maruno17
2021-12-20 17:18:21 +00:00
parent db4acd3369
commit 33fcbf623b
154 changed files with 1388 additions and 1420 deletions

View File

@@ -25,7 +25,7 @@ class Interpolator
@frames = frames
@step = 0
@sprite = sprite
for item in items
items.each do |item|
case item[0]
when ZOOM_X
@tweensteps[item[0]] = [sprite.zoom_x, item[1] - sprite.zoom_x]
@@ -52,7 +52,7 @@ class Interpolator
def update
if @tweening
t = @step.to_f / @frames
for i in 0...@tweensteps.length
@tweensteps.length.times do |i|
item = @tweensteps[i]
next if !item
case i