Open SjoerdOptLand opened 11 years ago
And, eventually mirror()
Instead of calling the rectangle() function of every constituent, one might also call the convecHull() of every constituent. Only at the top level, this convex hull is casted to an outer rectangle()
Can contain anything that has draw(), rectangle() and move() methods.
draw() calls draw() upon all items rectangle() takes the maximum of all items setting a corner or the center moves all items