Пример #1
0
        public string addNewCreature(string name = null, string type = null, string areaType = null, int highestValue = 9)
        {
            IGameCreature newCreature = new GameCreature(StoryGenerationClass.Instance.getCreature(name, type, areaType, highestValue));

            creatures.Add(newCreature);
            return(newCreature.getCreature().getName());
        }
Пример #2
0
 public string addNewCreature(string name = null, string type = null, string areaType = null, int highestValue = 9)
 {
     IGameCreature newCreature = new GameCreature(StoryGenerationClass.Instance.getCreature(name, type, areaType, highestValue));
     creatures.Add(newCreature);
     return newCreature.getCreature().getName();
 }
Пример #3
0
 public void addCreature(ICreature c)
 {
     IGameCreature newCreature = new GameCreature(c);
     creatures.Add(newCreature);
 }
Пример #4
0
        public void addCreature(ICreature c)
        {
            IGameCreature newCreature = new GameCreature(c);

            creatures.Add(newCreature);
        }