public Actor NewActor(ActorType typeMonster, Mage owner) { switch (typeMonster) { case ActorFactory.ActorType.FireElemental: return new FireElemental(); case ActorFactory.ActorType.Goblin: return new Goblin(this.getUniqueGoblinName(), owner); case ActorFactory.ActorType.IceElemental: return new NoOne(); case ActorFactory.ActorType.Ogre: return new NoOne(); case ActorFactory.ActorType.Troll: return new NoOne(); case ActorFactory.ActorType.Giant: return new NoOne(); case ActorFactory.ActorType.Mage: return new NoOne(); default: return new NoOne(); } }
public Arm(Mage aOwner) { this.Owner = aOwner; this.gestures = new List<Mage.handGesture>(); }
public bool proposeHandGesture(Mage.handGesture aGesture) { gestures.Add(aGesture); return true; }
public Goblin(string aName, Mage anOwner) : base(aName, ActorFactory.MaxHPts.Goblin, anOwner) { this.brain = new HeadBrain(); }