diff API/Objects/Requirement/RequiresAtLeastNUnitsRequirement.cs @ 338:4497ebce9a57

Re #27: Unit requirements * Add "is applicable" checking to army validation
author IBBoard <dev@ibboard.co.uk>
date Sun, 03 Apr 2011 19:03:30 +0000
parents 3c4a6403a88c
children 7bd2a7cdbfbd
line wrap: on
line diff
--- a/API/Objects/Requirement/RequiresAtLeastNUnitsRequirement.cs	Sun Apr 03 18:50:32 2011 +0000
+++ b/API/Objects/Requirement/RequiresAtLeastNUnitsRequirement.cs	Sun Apr 03 19:03:30 2011 +0000
@@ -75,7 +75,7 @@
 		/// <param name='toValidate'>
 		/// The army to validate
 		/// </param>
-		public bool ValidatesArmy(Army toValidate)
+		public virtual bool ValidatesArmy(Army toValidate)
 		{
 			bool canAdd = true;