comparison api/Objects/UnitEquipmentNumericSelection.cs @ 305:92d10b06ab0f

Fixes #62: Delete obsolete methods * All obsolete methods deleted. No other changes required - usage had already been phased out. Also: * Add app.config to appease VS.Net
author IBBoard <dev@ibboard.co.uk>
date Wed, 26 Jan 2011 20:27:50 +0000
parents dce340f9cedc
children
comparison
equal deleted inserted replaced
304:1e82cac3716d 305:92d10b06ab0f
34 34
35 protected override bool IsValidValue (double newValue) 35 protected override bool IsValidValue (double newValue)
36 { 36 {
37 return base.IsValidValue(newValue) && IsWholeNumber(newValue); 37 return base.IsValidValue(newValue) && IsWholeNumber(newValue);
38 } 38 }
39
40 [Obsolete("Implementation is down to the UI")]
41 public override string GetEquipmentAmountString ()
42 {
43 return GetEquipmentAmountString(AmountTaken);
44 }
45
46 [Obsolete("Implementation is down to the UI")]
47 public static string GetEquipmentAmountString(double amount)
48 {
49 return amount.ToString();
50 }
51 } 39 }
52 } 40 }