Mercurial > repos > IBDev-IBBoard.WarFoundry.API
comparison api/Factories/AbstractNativeWarFoundryFactory.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 | 895c8a2378a1 |
children | 0770e5cbba7c |
comparison
equal
deleted
inserted
replaced
7:895c8a2378a1 | 8:613bc5eaac59 |
---|---|
45 | 45 |
46 protected AbstractNativeWarFoundryFactory() | 46 protected AbstractNativeWarFoundryFactory() |
47 { | 47 { |
48 //Do nothing - just make the constructor non-public | 48 //Do nothing - just make the constructor non-public |
49 } | 49 } |
50 | 50 |
51 public abstract void CompleteLoading(IWarFoundryStagedLoadObject obj); | |
52 | |
53 protected override ZipFile GetFileAsSupportedType (FileInfo file) | 51 protected override ZipFile GetFileAsSupportedType (FileInfo file) |
54 { | 52 { |
55 ZipFile zip = null; | 53 ZipFile zip = null; |
56 | 54 |
57 try | 55 try |