view api/Requirements/FailedUnitRequirement.cs @ 44:db951aad24b9

Re #50 - Complete loading of WarFoundry XML * Fix loading of armour type by fixing typo in Race schema * Revert to an exception if there is a parse error on the armour type (since the schema should validate it)
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Mar 2009 17:10:49 +0000
parents 306558904c2a
children 3ea0ab04352b
line wrap: on
line source

// This file (FailedUnitRequirement.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2009 IBBoard.
//
// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license.

using System;

namespace IBBoard.WarFoundry.API.Requirements
{
	/// <summary>
	/// Summary description for UnitRequirement.
	/// </summary>
	public class FailedUnitRequirement : AbstractFailedRequirement
	{
		public FailedUnitRequirement(UnitRequirement requirement) : base(requirement)
		{
		}
		
		public override string Description
		{
			get { return failedReq.Description; }
		}

	}
}