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 MagicDefense(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public Remember(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public RejuvenatingStrike(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public SwordAttack(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public ShieldBlock(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public IntoTheFray(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public HeavyBlow(Warrior warriorPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.warriorPlayer = warriorPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public ShareTheLoad(Warrior warriorPlayer) { this.warriorPlayer = warriorPlayer; }