Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison API/Objects/Requirement/Mock/AbstractFixedRequirement.cs @ 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 | 5e03b68dd214 |
children |
comparison
equal
deleted
inserted
replaced
235:d122354eeebc | 236:be409428bbea |
---|---|
18 public AbstractFixedRequirement(Validation fixedResult) | 18 public AbstractFixedRequirement(Validation fixedResult) |
19 { | 19 { |
20 result = fixedResult; | 20 result = fixedResult; |
21 } | 21 } |
22 | 22 |
23 public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy) | 23 public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy, AddingContext context) |
24 { | 24 { |
25 return result; | 25 return result; |
26 } | 26 } |
27 | 27 |
28 public Validation ValidatesArmy(Army army) | 28 public Validation ValidatesArmy(Army army) |