class BinPacking::FreeSpaceBox

Attributes

height[RW]
width[RW]
x[RW]
y[RW]

Public Class Methods

new(width, height) click to toggle source
# File lib/bin_packing/free_space_box.rb, line 5
def initialize(width, height)
  @width = width
  @height = height
  @x = 0
  @y = 0
end