Overloaded
methodsTopDragging Tshirts

Dragging Tshirts

Just as defining the BBall class made it possible to get a nicer looking basketball game, we could imagine improving the look of the laundry sorter code from this week's lab by creating objects belong to the Tshirt class.

Note that you can define whatever methods make sense for your application (eg, the reset method in the Tshirt class), and that you can create multiple objects of the class as in the two shirts dragging program here: Drag2Shirts


Overloaded
MethodsTopDragging Tshirts