diff API/Objects/Requirement/RequiresAtLeastNUnitsRequirement.cs @ 347:44a6539fadf9

Re #27: Unit requirements * Add base interface for all requirements and extend it in existing requirements * Add stub method for getting requirements of race (UnitTypes need to be able to add them first before testing goes further)
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Apr 2011 15:51:39 +0000
parents 008537acf244
children 6c0404277cad
line wrap: on
line diff
--- a/API/Objects/Requirement/RequiresAtLeastNUnitsRequirement.cs	Sat Apr 09 15:14:16 2011 +0000
+++ b/API/Objects/Requirement/RequiresAtLeastNUnitsRequirement.cs	Sat Apr 09 15:51:39 2011 +0000
@@ -10,7 +10,7 @@
 	/// <summary>
 	/// A requirement where a WarFoundryObject requires at least N units of one or more unit types before any number of that object can be taken in an army.
 	/// </summary>
-	public class RequiresAtLeastNUnitsRequirement
+	public class RequiresAtLeastNUnitsRequirement : IRequirement
 	{
 		private List<UnitCountRequirementData> requiredTypes;