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

            creatures.Add(newCreature);
        }