mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Code tidying with Rubocop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user