State Pattern Interface for Task 12