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

@@ -82,7 +82,8 @@ class MiningGameCursor < BitmapSprite
TOOL_POSITIONS = [[1, 0], [1, 1], [1, 1], [0, 0], [0, 0],
[0, 2], [0, 2], [0, 0], [0, 0], [0, 2], [0, 2]] # Graphic, position
def initialize(position, mode, viewport) # mode: 0=pick, 1=hammer
# mode: 0=pick, 1=hammer.
def initialize(position, mode, viewport)
@viewport = viewport
super(Graphics.width, Graphics.height, @viewport)
@position = position