Exemplo n.º 1
0
 public void GenerateQuests(int numToGenerate)
 {
     for (int i = 0; i < numToGenerate; i++)
     {
         availableQuests.Add(QuestGenerator.Generate());
     }
 }
Exemplo n.º 2
0
        IEnumerator Initialize()
        {
            Database.Initialize();
            SpriteManager.instance.Initialize();
            LoadUnlocks();

            ItemGenerator.Initialize();
            PcGenerator.Initialize();
            QuestGenerator.Initialize();
            StockpileManager.instance.Initialize();
            ModelManager.instance.Initialize();

            PcManager.instance.Initialize();
            //PcManager.instance.Load();
            PcManager.instance.Generate();

            questManager.Initialize();

            PortraitRoom.instance.Initialize(PcManager.instance.PcDataList.Count);

            guiManager.Initialize(buildingObjects);

            //AudioManager.instance.PlayMusic("Back Home", 0, 5f);
            AudioManager.instance.PlayAmbient("Town Day", true);

            return(null);
        }
Exemplo n.º 3
0
 public void GenerateQuest()
 {
     questManager.AcceptQuest(QuestGenerator.Generate());
     UpdateQuestPanel();
 }