Class: ElTwo
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
-
#initialize(x, y) ⇒ ElTwo
constructor
A new instance of ElTwo.
Methods inherited from Player
#height, #is_brick, #rotate, #rotate_rollback, #width
Constructor Details
#initialize(x, y) ⇒ ElTwo
Returns a new instance of ElTwo.
65 66 67 68 69 70 |
# File 'lib/player.rb', line 65 def initialize(x, y) super(x, y) @color = Gosu::Color.argb(0xFF, 0xFF, 0xA5, 0x00) @data = [[1, 0, 0], [1, 1, 1]] end |