public static void SelectChapter(Nightmare1 chapterName) { switch (chapterName) { case (Nightmare1.ButtonChapter1): new KidsRoomChapter(); break; case (Nightmare1.ButtonChapter2): new KidsRoomChapterV2(); break; case (Nightmare1.ButtonChapter3): new LivingRoomChapter(); break; default: new KidsRoomChapter(); break; } ToggleMenuVisibility(); }