class Square

Public Class Methods

new(x, y) click to toggle source
Calls superclass method Player::new
# File lib/player.rb, line 47
def initialize(x, y)
  super(x, y)
  @color = Gosu::Color::RED
  @data = [[1, 1],
           [1, 1]]
end