Code tidying with Rubocop

This commit is contained in:
Maruno17
2023-07-18 22:42:10 +01:00
parent 6053363715
commit a5734eaf46
68 changed files with 276 additions and 232 deletions

View File

@@ -166,7 +166,8 @@ class PokemonEggHatch_Scene
@sprites["hatch"].x = @sprites["pokemon"].x
end
def updateScene(duration = 0.01) # Can be used for "wait" effect
# Can be used for "wait" effect.
def updateScene(duration = 0.01)
timer_start = System.uptime
while System.uptime - timer_start < duration
Graphics.update