...
DoCommandVisitor
is the visitor that you have to write (fill in the missing code) for this assignment. Other than the student
field, your implementation may have additonal fields and private utility methods that you decide you need for your implementation. Thus, your DoComandVistor
may appear slightly different than what is shown here.
The student
field in DoCommandVisitor
will give you access to the various clothes piles, what the student is currently wearing and the laundry room. You do NOT have to code up the instantiation of the DoCommandVisitor
! The supplied simulation infrastructure already does that for you.