Added the GameDelegate class.