implementing State pattern for GameStub