/// <summary> /// Shows the Dashboard /// </summary> void ShowDash(PlayerIndex playerIndex) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "This icon will bring up the dashboard, alternatively you can access the dashboard by F1.\n" + "The Dashboard will show important information such as your bank account balance, cash\n" + "and credit balance.", Selection = calendarT, }; ScreenManager.AddScreen(hfs, playerIndex); }
void Undo(object sender, PlayerIndexEventArgs e) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "This icon will undo the last transaction. This should be used if you pay more or less\n" + "than you meant to.\n", Selection = undoButton, }; ScreenManager.AddScreen(hfs, e.PlayerIndex); }
void NewDay(object sender, PlayerIndexEventArgs e) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "This arrow will advance the game into the next day. You may only advance\n"+ "once you have completed all the days events and answered correctly on the\n" + "quiz.", Selection = (Tile)sender, }; ScreenManager.AddScreen(hfs, e.PlayerIndex); }
void LoadTransactionScreen(object sender, PlayerIndexEventArgs e) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "This is your record book.This icon on the right will bring up this book.\n" + "The arrow on the bottom will close the book.This is where you can\n" + "view your transaction history.", Selection = book, }; TransactionScreen transactionScreen = new TransactionScreen(); hfs.Exit += delegate(object s, PlayerIndexEventArgs x) { transactionScreen.ExitScreen(); }; ScreenManager.AddScreen(transactionScreen, e.PlayerIndex); ScreenManager.AddScreen(hfs, e.PlayerIndex); }
void LoadQuiz(object sender, PlayerIndexEventArgs e) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "This is the quiz.This icon on the right will bring up the quiz. You must\n" + "Select the correct answer before you continue to the next day. The arrow\n" + "in the top left will exit our of the quiz.", Selection = test, }; QuizScreen quiz = new QuizScreen(); hfs.Exit += delegate(object s, PlayerIndexEventArgs x) { quiz.ExitScreen(); }; ScreenManager.AddScreen(quiz, e.PlayerIndex); ScreenManager.AddScreen(hfs, e.PlayerIndex); }
void LoadPaymentScreen(object sender, PlayerIndexEventArgs e) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "These sticky notes represents the events that occured today. Every day you will need\n" + "to pay each event which requires payment before you can continue you can view\n" + "upcoming and past events on the dashboard.", Selection = (Tile)sender, }; ScreenManager.AddScreen(hfs, e.PlayerIndex); }
void LoadBank(object sender, PlayerIndexEventArgs e) { HelpFadeScreen hfs = new HelpFadeScreen() { Title = "This is the bank. This icon on the right will bring up the bank.\n" + "The arrow in the top left will close the bank. The bank is where\n" + "you can withdraw or deposit money.", Selection = bankT, }; BankScreen bank = new BankScreen(); hfs.Exit += delegate(object s, PlayerIndexEventArgs x) { bank.ExitScreen(); }; ScreenManager.AddScreen(bank, e.PlayerIndex); ScreenManager.AddScreen(hfs, e.PlayerIndex); }