previous
|
start
|
next
Defining a New Interface Type
Use timer to move car shapes
Draw car with CarShape
Two responsibilities:
Draw shape
Move shape
Define new interface type MoveableShape
previous
|
start
|
next