Class Dependencies
A class C1 depends on (uses) another class C2 if:
- A method in C1 accepts an argument of type C2,
- A method in C1 returns a value of type C2, or
- An instance variable in C1 is of type C2.
The GameStateInfo class depends on the MoveInfo class
because it must transform a state into a new state given a move.