changeset 236:be409428bbea

Re #410: Create "N units per M models in parent unit" requirement * Make sure signatures match new interface signature
author IBBoard <dev@ibboard.co.uk>
date Mon, 06 Aug 2012 20:51:34 +0100
parents d122354eeebc
children 833f72be715a
files API/Factories/Requirement/Mock/MockRequirement.cs API/Objects/Requirement/Mock/AbstractFixedRequirement.cs
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/API/Factories/Requirement/Mock/MockRequirement.cs	Wed Aug 01 21:01:43 2012 +0100
+++ b/API/Factories/Requirement/Mock/MockRequirement.cs	Mon Aug 06 20:51:34 2012 +0100
@@ -22,7 +22,7 @@
 			}
 		}
 
-		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy)
+		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy, AddingContext context)
 		{
 			throw new NotImplementedException();
 		}
--- a/API/Objects/Requirement/Mock/AbstractFixedRequirement.cs	Wed Aug 01 21:01:43 2012 +0100
+++ b/API/Objects/Requirement/Mock/AbstractFixedRequirement.cs	Mon Aug 06 20:51:34 2012 +0100
@@ -20,7 +20,7 @@
 			result = fixedResult;
 		}
 
-		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy)
+		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy, AddingContext context)
 		{
 			return result;
 		}