to implement GameState changer.