Mercurial > repos > IBBoard.WarFoundry.API
comparison API/Objects/Requirement/IRequirement.cs @ 494:4f01fdc3bb41
Re #410: Create "N units per M models in parent unit" requirement
* Make sure that adding context is in at the top level and propagated through requirement handling
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 06 Aug 2012 20:50:59 +0100 |
parents | 248df19652f9 |
children |
comparison
equal
deleted
inserted
replaced
493:6b0ca39025ed | 494:4f01fdc3bb41 |
---|---|
30 /// The object that we want to add. This may be involved in the check, or it may not affect the evaluation of the requirement | 30 /// The object that we want to add. This may be involved in the check, or it may not affect the evaluation of the requirement |
31 /// </param> | 31 /// </param> |
32 /// <param name='toArmy'> | 32 /// <param name='toArmy'> |
33 /// The army to add the object to. | 33 /// The army to add the object to. |
34 /// </param> | 34 /// </param> |
35 Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy); | 35 Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy, AddingContext context); |
36 | 36 |
37 /// <summary> | 37 /// <summary> |
38 /// Checks whether the supplied army is currently valid according to this requirement. | 38 /// Checks whether the supplied army is currently valid according to this requirement. |
39 /// </summary> | 39 /// </summary> |
40 /// <returns> | 40 /// <returns> |