public void AppendState(DnDToolsState otherState)
 {
     Monsters.AddRange(otherState.Monsters);
     CreatureTypes.AddRange(otherState.CreatureTypes);
     HarvestedItems.AddRange(otherState.HarvestedItems);
     TrinketTables.AddRange(otherState.TrinketTables);
 }
示例#2
0
        //loads all the monsters at the start of the game into the list and displays a internal log
        private void Awake()
        {
            Instance = this;
            foreach (Monster monster in GetComponents <Monster>())
            {
                Debug.Log("Monster Found");
                Monsters.Add(monster);
            }

            Monsters.AddRange(GetComponents <Monster>());
        }
 public BattleEncounter(List <Monster> monsters) : this()
 {
     Monsters.AddRange(monsters);
 }