Mercurial > repos > IBBoard.WarFoundry.API
diff api/Factories/AbstractWarFoundryFactory.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 | 0770e5cbba7c |
line wrap: on
line diff
--- a/api/Factories/AbstractWarFoundryFactory.cs Sun Jan 04 13:12:55 2009 +0000 +++ b/api/Factories/AbstractWarFoundryFactory.cs Sun Jan 04 19:24:13 2009 +0000 @@ -26,7 +26,12 @@ namespace IBBoard.WarFoundry.API.Factories { public abstract class AbstractWarFoundryFactory<FILE_TYPE> : IWarFoundryFactory - { + { + public virtual void CompleteLoading(IWarFoundryStagedLoadObject obj) + { + //Default to doing nothing as this will probably be standard for non-native factories and some native factories + } + public bool CanHandleFileFormat (FileInfo file) { return CheckCanHandleFileFormat(GetFileAsSupportedType(file));