Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GameManager"/> class.
        /// </summary>
        public GameManager()
        {
            entityManager = new EntityManager();
            entityManager.LoadContent();

            currentPlayer = entityManager.GetPlayer();

            inventoryManager = new InventoryManager(currentPlayer, entityManager);
            combatManager    = new CombatManager(inventoryManager);
            questManager     = new QuestManager();
            worldManager     = new WorldManager();

            questManager.LoadContent();

            worldManager.LoadContent();
            worldManager.LoadWorld(currentPlayer.World);
        }