Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 void LoadBank(object sender, PlayerIndexEventArgs e)
 {
     BankScreen bank = new BankScreen();
     ScreenManager.AddScreen(bank, e.PlayerIndex);
 }