diff api/Objects/WarFoundryLoadedObject.cs @ 315:6cb0fb78b9a6

Re #324: Add saving of Race and System data to files * Convert IWarFoundryFileSaver from a marker interface into an interface with a purpose of its own so that we can support multiple data files in one zip * Repurpose WarFoundryXmlSaver to be just an Army saver - we still need to make it usable as part of a larger whole * Add a WarFoundryLoadedObject class for objects loaded from files and make Race/Army/GameSystem inherit from it
author IBBoard <dev@ibboard.co.uk>
date Mon, 28 Feb 2011 21:09:20 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/api/Objects/WarFoundryLoadedObject.cs	Mon Feb 28 21:09:20 2011 +0000
@@ -0,0 +1,26 @@
+using System;
+using IBBoard.WarFoundry.API.Objects;
+
+namespace IBBoard.WarFoundry.API.Objects
+{
+	/// <summary>
+	/// A marker class for objects that are loaded from a file
+	/// </summary>
+	public class WarFoundryLoadedObject : WarFoundryObject
+	{
+		protected WarFoundryLoadedObject() : base()
+		{
+			//Do nothing
+		}
+				
+		protected WarFoundryLoadedObject(string objName) : base(objName)
+		{
+			//Do nothing
+		}
+		
+		protected WarFoundryLoadedObject(string objId, string objName) : base(objId, objName)
+		{
+			//Do nothing
+		}	
+	}
+}