class Sc20XX::UI::Rect

Attributes

height[R]
width[R]
x[R]
y[R]

Public Class Methods

new(x, y, width, height) click to toggle source
# File lib/sc20XX/ui/rect.rb, line 6
def initialize(x, y, width, height)
  @x = x
  @y = y
  @width = width
  @height = height
end