Class: El
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
-
#initialize(x, y) ⇒ El
constructor
A new instance of El.
Methods inherited from Player
#height, #is_brick, #rotate, #rotate_rollback, #width
Constructor Details
#initialize(x, y) ⇒ El
56 57 58 59 60 61 |
# File 'lib/player.rb', line 56 def initialize(x, y) super(x, y) @color = Gosu::Color::YELLOW @data = [[1, 1, 1], [1, 0, 0]] end |