changeset 182:6fe336109128

Re #198: Add slots with count to unit * Add stub implementation for method to get max count
author IBBoard <dev@ibboard.co.uk>
date Sat, 24 Oct 2009 18:59:04 +0000
parents 8c6f55d289b0
children 36adabb1c3ea
files api/Util/UnitEquipmentUtil.cs
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/api/Util/UnitEquipmentUtil.cs	Sat Oct 24 15:18:00 2009 +0000
+++ b/api/Util/UnitEquipmentUtil.cs	Sat Oct 24 18:59:04 2009 +0000
@@ -98,5 +98,10 @@
 
 			return areMutex;
 		}
+
+		public static int GetMaxEquipmentCount (Unit unit, UnitEquipmentItem equip)
+		{
+			return equip.MaxNumber;
+		}
 	}
 }