settingsmenu class and mainsettingsmenu and gamesettingsmenu subclalsses