Class: Tower

Inherits:
Player show all
Defined in:
lib/player.rb

Instance Attribute Summary

Attributes inherited from Player

#color, #x, #y

Instance Method Summary collapse

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