Mercurial > repos > snowblizz-super-API-ideas
view api/Requirements/UnitMinNumberReached.cs @ 0:520818033bb6
Initial commit of WarFoundry code
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 19 Dec 2008 15:57:51 +0000 |
parents | |
children | 306558904c2a |
line wrap: on
line source
using System; using IBBoard.WarFoundry.API.Objects; namespace IBBoard.WarFoundry.API.Requirements { /// <summary> /// Summary description for UnitMaxNumberRequirement. /// </summary> public class UnitMinNumberReached : FailedUnitRequirement { private UnitType type; public UnitMinNumberReached(UnitType unitType, UnitRequirementMinNumber requirement) : base(requirement) { type = unitType; } public override string Description { get { return "The minimum number of units of type "+type.Name+" is not currently met"; } } } }