| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using Common.Config;
- namespace Model
- {
- public class World
- {
- private static readonly World instance = new World();
- private readonly ConfigManager configManager = ConfigManager.Instance;
- private readonly GameObjectManager gameObjectManager = new GameObjectManager();
- public static World Instance
- {
- get
- {
- return instance;
- }
- }
- private World()
- {
- this.configManager.Load(typeof (World).Assembly);
- }
- public ConfigManager ConfigManager
- {
- get
- {
- return this.configManager;
- }
- }
- public GameObjectManager GameObjectManager
- {
- get
- {
- return this.gameObjectManager;
- }
- }
- }
- }
|