Class: Tower
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
-
#initialize(x, y) ⇒ Tower
constructor
A new instance of Tower.
Methods inherited from Player
#height, #is_brick, #rotate, #rotate_rollback, #width
Constructor Details
#initialize(x, y) ⇒ Tower
74 75 76 77 78 |
# File 'lib/player.rb', line 74 def initialize(x, y) super(x, y) @color = Gosu::Color::FUCHSIA @data = [[1, 1, 1, 1]] end |