Class: ElTwo

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) ⇒ ElTwo

Returns a new instance of ElTwo.



65
66
67
68
69
70
# File 'lib/player.rb', line 65

def initialize(x, y)
  super(x, y)
  @color = Gosu::Color.argb(0xFF, 0xFF, 0xA5, 0x00)
  @data = [[1, 0, 0],
           [1, 1, 1]]
end