Beispiel #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());
        }
Beispiel #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();
 }
Beispiel #3
0
 public void addCreature(ICreature c)
 {
     IGameCreature newCreature = new GameCreature(c);
     creatures.Add(newCreature);
 }
Beispiel #4
0
        public void addCreature(ICreature c)
        {
            IGameCreature newCreature = new GameCreature(c);

            creatures.Add(newCreature);
        }