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 diff
     1.1 --- a/API/Factories/Requirement/Mock/MockRequirement.cs	Wed Aug 01 21:01:43 2012 +0100
     1.2 +++ b/API/Factories/Requirement/Mock/MockRequirement.cs	Mon Aug 06 20:51:34 2012 +0100
     1.3 @@ -22,7 +22,7 @@
     1.4  			}
     1.5  		}
     1.6  
     1.7 -		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy)
     1.8 +		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy, AddingContext context)
     1.9  		{
    1.10  			throw new NotImplementedException();
    1.11  		}
     2.1 --- a/API/Objects/Requirement/Mock/AbstractFixedRequirement.cs	Wed Aug 01 21:01:43 2012 +0100
     2.2 +++ b/API/Objects/Requirement/Mock/AbstractFixedRequirement.cs	Mon Aug 06 20:51:34 2012 +0100
     2.3 @@ -20,7 +20,7 @@
     2.4  			result = fixedResult;
     2.5  		}
     2.6  
     2.7 -		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy)
     2.8 +		public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy, AddingContext context)
     2.9  		{
    2.10  			return result;
    2.11  		}