Beispiel #1
0
 public Form1()
 {
     InitializeComponent();
     //Instantiate game manager, text input worker and see charater checklist boxs
      gameWorker = new GameManager();
      formTextInputWorker = new CharaterInput();
      DisplayPlayers(gameWorker.gameCharaterDic);
 }
Beispiel #2
0
        /**
         *  Constructor
         */
        public Form1()
        {
            InitializeComponent();

            gameManager = new GameManager(battleListBox);

            // Show the characters in both the battle and weapon checked list boxes
            populateCharacterCheckedListBoxes();

            // Set king to be the default character type
            rdKing.Checked = true;

            // Set sword to be the default weapon type for change weapon
            rdSword.Checked = true;
        }