Class: Zet
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
-
#initialize(x, y) ⇒ Zet
constructor
A new instance of Zet.
Methods inherited from Player
#height, #is_brick, #rotate, #rotate_rollback, #width
Constructor Details
permalink #initialize(x, y) ⇒ Zet
Returns a new instance of Zet.
82 83 84 85 86 87 |
# File 'lib/player.rb', line 82 def initialize(x, y) super(x, y) @color = Gosu::Color::GREEN @data = [[1, 1, 0], [0, 1, 1]] end |