diff API/Objects/UnitType.cs @ 367:1a70ca80ef41

Re #27: Define unit requirements * Remove remaining references to old Requirements namespace
author IBBoard <dev@ibboard.co.uk>
date Sat, 28 May 2011 15:51:54 +0000
parents 50d0d3b39a0b
children
line wrap: on
line diff
--- a/API/Objects/UnitType.cs	Sat May 28 15:40:05 2011 +0000
+++ b/API/Objects/UnitType.cs	Sat May 28 15:51:54 2011 +0000
@@ -7,7 +7,6 @@
 using System.Xml;
 using IBBoard.Limits;
 using IBBoard.Logging;
-using IBBoard.WarFoundry.API.Requirements;
 using IBBoard.WarFoundry.API.Objects.Requirement;
 
 namespace IBBoard.WarFoundry.API.Objects
@@ -510,20 +509,6 @@
 
 			return reqs.ToArray();
 		}
-
-		[Obsolete]
-		public List<FailedUnitRequirement> CanAddToArmy(Army army)
-		{
-			List<FailedUnitRequirement> failures = new List<FailedUnitRequirement>();
-			return failures;
-		}
-
-		[Obsolete]
-		public List<FailedUnitRequirement> CanRemoveFromArmy(Army army)
-		{
-			List<FailedUnitRequirement> failures = new List<FailedUnitRequirement>();
-			return failures;
-		}
 		
 		public string Notes
 		{