예제 #1
0
 public PlayerCharacter(MainWindow main, string name, int birthdate, Dynasty dynasty, int money, Game game, Gender gender)
     : base(name, birthdate, dynasty, money, game, gender)
 {
     this.main = main;
     notificator = new Notificator();
     notificator.Show();
 }
예제 #2
0
 public BothButton(Character perspective, Character[] topButtons, bool[] topButtonEnables, string[] bottomButtons, bool[] bottomButtonEnables, Notificator notificator)
 {
     perspectiveCharacter = perspective;
     upperButtons = topButtons;
     upperButtonEnables = topButtonEnables;
     lowerButtons = bottomButtons;
     lowerButtonEnables = bottomButtonEnables;
     this.notificator = notificator;
     SelectedIndex = -1;
 }
예제 #3
0
 public TextTopBottomButton(Character[] others, Character perspective, string text, string[] buttons, bool[] buttonEnable, Notificator notificator)
 {
     this.others = others;
     this.perspective = perspective;
     upperText = text;
     lowerButtons = buttons;
     lowerButtonEnable = buttonEnable;
     SelectedIndex = -1;
     this.notificator = notificator;
 }
예제 #4
0
 public SelectCharacterView(Character perspective, Character[] topButtons, bool[] topButtonEnables, string desc, Notificator notificator)
 {
     perspectiveCharacter = perspective;
     upperButtons = topButtons;
     upperButtonEnables = topButtonEnables;
     description = desc;
     this.notificator = notificator;
     SelectedIndex = -1;
 }