Class: ZetTwo
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
-
#initialize(x, y) ⇒ ZetTwo
constructor
A new instance of ZetTwo.
Methods inherited from Player
#height, #is_brick, #rotate, #rotate_rollback, #width
Constructor Details
#initialize(x, y) ⇒ ZetTwo
Returns a new instance of ZetTwo.
92 93 94 95 96 97 |
# File 'lib/player.rb', line 92 def initialize(x, y) super(x, y) @color = Gosu::Color::CYAN @data = [[0, 1, 1], [1, 1, 0]] end |