diff api/Objects/UnitEquipmentItem.cs @ 263:7933d852181e

Re #289: Double-check extensibility where sets of values are allowed * Remove ArmourType and all usage as it needs rebuilding from scratch to be extensible and isn't widely used yet
author IBBoard <dev@ibboard.co.uk>
date Sat, 05 Jun 2010 12:43:28 +0000
parents 3ef067225dc3
children 6fe0cb1bf74f
line wrap: on
line diff
--- a/api/Objects/UnitEquipmentItem.cs	Mon May 31 15:33:41 2010 +0000
+++ b/api/Objects/UnitEquipmentItem.cs	Sat Jun 05 12:43:28 2010 +0000
@@ -219,11 +219,6 @@
 			}
 		}
 
-		public ArmourType ItemArmourType
-		{
-			get { return EquipmentItem.ItemArmourType; }
-		}
-
 		public string Description
 		{
 			get { return EquipmentItem.Description; }
@@ -239,11 +234,6 @@
 			return EquipmentItem.CanBeUsedWithItem(item);
 		}
 
-		public bool CanBeUsedWithArmourType(ArmourType otherItemType)
-		{
-			return EquipmentItem.CanBeUsedWithArmourType(otherItemType);
-		}
-
 		[Obsolete("Use UnitEquipmentUtil method instead")]
 		public bool IsMutuallyExclusive(UnitEquipmentItem item)
 		{