diff api/Objects/IWarFoundryStagedLoadObject.cs @ 8:613bc5eaac59

Re #9 - Make WarFoundry loading granular * Remove specific staged loading classes * Rework category loading for GameSystem and Race to make it use AddCategory(Category) method * Promote staged loading from Native Factory to all Factories level * Refactor XML Factory to use smaller methods Also removed some commented code that isn't used any more
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Jan 2009 19:24:13 +0000
parents 520818033bb6
children 306558904c2a
line wrap: on
line diff
--- a/api/Objects/IWarFoundryStagedLoadObject.cs	Sun Jan 04 13:12:55 2009 +0000
+++ b/api/Objects/IWarFoundryStagedLoadObject.cs	Sun Jan 04 19:24:13 2009 +0000
@@ -15,11 +15,16 @@
 		/// <value>
 		/// Gets the <code>AbstractNativeWarFoundryFactory</code> that created the object.
 		/// </value>
-		AbstractNativeWarFoundryFactory Factory	{ get; }
+		IWarFoundryFactory Factory	{ get; }
 		
 		/// <value>
 		/// Returns <code>true</code> if the object has been fully loaded with all data, else returns <code>false</code>
 		/// </value>
 		bool IsFullyLoaded { get; }
+		
+		/// <summary>
+		/// Marks the object as fully loaded so that no more load checking is required.
+		/// </summary>
+		void SetAsFullyLoaded();
 	}
 }