/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="content">ContentManager instance</param>
 public GameModel(ContentManager content)
 {
     this._level        = new Level(content);
     this._currentMap   = _level.CurrentMap();
     this._playerSystem = new PlayerSystem(_level);
     this._enemySystem  = new EnemySystem(_level.EnemyNPCLayer, _level, _currentMap);
     this._npcSystem    = new NpcSystem(_level.FriendlyNPCLayer);
     this._itemSystem   = new ItemSystem(_level.ItemLayer);
     this._questSystem  = new QuestSystem(content);
 }
Exemple #2
0
 //Konstruktor
 public GameModel(ContentManager a_content)
 {
     m_level        = new Level(a_content);
     m_currentMap   = m_level.CurrentMap();
     m_playerSystem = new PlayerSystem(m_level);
     m_enemySystem  = new EnemySystem(m_level.EnemyNPCLayer, m_level, m_currentMap);
     m_friendSystem = new FriendSystem(m_level.FriendlyNPCLayer);
     m_itemSystem   = new ItemSystem(m_level.ItemLayer);
     m_questSystem  = new QuestSystem(a_content);
 }