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); }
private void loadNecessaryData() { land = controller.getFirstLand(); nTanks = controller.getDeployTank(); }