public Player BuildCharacter(string classType, string name)
        {
            Player player;
            switch (classType.ToLower())
            {

                case "archer":
                    player = new Archer(name);

                    break;
                case "cleric":
                    player = new Cleric(name);
                    break;
                case "thief":
                    player = new Thief(name);
                    break;
                case "paladin":
                    player = new Paladin(name);
                    break;
                case "warrior":
                    player = new Warrior(name);
                    break;
                case "wizard":
                    player = new Wizard(name);
                    break;
                default:
                    player = new Monster(name);
                    break;
            }
            return player;
        }
 public VampiricDagger(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
Example #3
0
 public Riposte(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
 public RainofDaggers(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
Example #5
0
 public QuickAttack(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
Example #6
0
 public BackStab(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
 public StickandMove(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
Example #8
0
 public DoubleStrike(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }
Example #9
0
 public PickPocket(Thief thiefPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer)
 {
     this.thiefPlayer = thiefPlayer;
     this.gameBoard = gameBoard;
     this.targetPlayer = targetPlayer;
 }