diff api/Objects/SystemStats.cs @ 82:3ea0ab04352b

* Fix line terminators no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Jun 2009 18:59:49 +0000
parents e6200220ece3
children 2f3cafb69799
line wrap: on
line diff
--- a/api/Objects/SystemStats.cs	Wed May 27 19:43:09 2009 +0000
+++ b/api/Objects/SystemStats.cs	Sat Jun 27 18:59:49 2009 +0000
@@ -3,24 +3,24 @@
 // 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;
-using System.Collections.Generic;
-
-namespace IBBoard.WarFoundry.API.Objects
-{
-	/// <summary>
-	/// SystemStats defines the available statistics/attributes that entity types can use (either a unit or an equipment item that has a stats line). Statistic/attribute values will be defined by a <see cref="Stats"/> object.
-	/// </summary>
-	public class SystemStats
-	{
+using System.Collections.Generic;
+
+namespace IBBoard.WarFoundry.API.Objects
+{
+	/// <summary>
+	/// SystemStats defines the available statistics/attributes that entity types can use (either a unit or an equipment item that has a stats line). Statistic/attribute values will be defined by a <see cref="Stats"/> object.
+	/// </summary>
+	public class SystemStats
+	{
 		private Dictionary<string, StatSlot> statsByName;
 		private List<StatSlot> stats;
-		private string id;
-
-		public SystemStats(string statsID)
+		private string id;
+
+		public SystemStats(string statsID)
 		{
-			id = statsID;
+			id = statsID;
 			statsByName = new Dictionary<string, StatSlot>();
-			stats = new List<StatSlot>();
+			stats = new List<StatSlot>();
 		}
 
 		public void AddStatSlot(string slotName)
@@ -29,14 +29,14 @@
 			slot.SystemStats = this;
 			statsByName[slot.Name] = slot;
 			stats.Add(slot);
-		}		
-
-		public StatSlot[] StatSlots
-		{
+		}		
+
+		public StatSlot[] StatSlots
+		{
 			get
 			{
 				return stats.ToArray();
-			}
+			}
 		}
 		
 		public StatSlot this[string statName]
@@ -51,15 +51,15 @@
 		{
 			return stats.IndexOf(slot);
 		}
-		
-        public int SlotCount
-        {
-            get { return stats.Count; }
+		
+        public int SlotCount
+        {
+            get { return stats.Count; }
         }
 		
 		public string ID
 		{
 			get { return id; }
-		}
-	}
-}
+		}
+	}
+}