Mercurial > repos > IBBoard.WarFoundry.API
comparison api/Objects/WarFoundryObject.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 |
comparison
equal
deleted
inserted
replaced
7:895c8a2378a1 | 8:613bc5eaac59 |
---|---|
1 using System; | 1 using System; |
2 using IBBoard.WarFoundry.API.Factories; | |
2 | 3 |
3 namespace IBBoard.WarFoundry.API.Objects | 4 namespace IBBoard.WarFoundry.API.Objects |
4 { | 5 { |
5 /// <summary> | 6 /// <summary> |
6 /// Summary description for WarFoundryObject. | 7 /// Summary description for WarFoundryObject. |
7 /// </summary> | 8 /// </summary> |
8 public abstract class WarFoundryObject : IWarFoundryObject | 9 public abstract class WarFoundryObject : IWarFoundryObject |
9 { | 10 { |
10 protected string name, id; | 11 protected string id; |
12 protected string name; | |
11 public event StringValChangedDelegate NameChanged; | 13 public event StringValChangedDelegate NameChanged; |
12 | 14 |
13 protected WarFoundryObject(){} | 15 protected WarFoundryObject() |
16 { | |
17 } | |
14 | 18 |
15 protected WarFoundryObject(string objName) : this() | 19 protected WarFoundryObject(string objName) : this() |
16 { | 20 { |
17 Name = objName; | 21 Name = objName; |
18 } | 22 } |