Beispiel #1
0
        public override List <string> getMissingData()
        {
            List <string> missingData = new List <string>();

            if (controller.getFirstLand() == null)
            {
                missingData.Add("Land attacker ");
            }
            if (controller.getSecondLand() == null)
            {
                missingData.Add("Land defender ");
            }
            if (controller.getDeployTank() <= 0)
            {
                missingData.Add("Number tank");
            }
            return(missingData);
        }
Beispiel #2
0
 private void loadNecessaryData()
 {
     land   = controller.getFirstLand();
     nTanks = controller.getDeployTank();
 }