comparison API/WarFoundryHacks.cs @ 449:ba6c762cdfc3

* Add missing line to Hacks class to add third factory
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Jan 2012 20:40:28 +0000
parents 6345a683fd75
children 81e130f3b85e
comparison
equal deleted inserted replaced
448:dbd779cdc0f9 449:ba6c762cdfc3
25 //Make sure we have a way to save files - should be controlled by plugins 25 //Make sure we have a way to save files - should be controlled by plugins
26 WarFoundrySaver.SetFileSaver(new WarFoundryXmlFileSaver()); 26 WarFoundrySaver.SetFileSaver(new WarFoundryXmlFileSaver());
27 //Make sure we have the requirement factories - should be controlled by plugins 27 //Make sure we have the requirement factories - should be controlled by plugins
28 WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresAtLeastNUnitsRequirementFactory()); 28 WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresAtLeastNUnitsRequirementFactory());
29 WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresNoMoreThanNOfUnitTypeRequirementFactory()); 29 WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresNoMoreThanNOfUnitTypeRequirementFactory());
30 WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresNUnitsForMUnitsRequirementFactory());
30 } 31 }
31 } 32 }
32 } 33 }
33 34