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 SpellBuff(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public FireBall(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public BallOfForce(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public SurefireShot(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public DefensiveBarrier(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public ColdSnap(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public DrainLife(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public FrostBolt(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public MagicMissile(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }
public ReboundingShield(Wizard wizardPlayer, IBoardGame gameBoard, ITargetPlayer targetPlayer) { this.wizardPlayer = wizardPlayer; this.gameBoard = gameBoard; this.targetPlayer = targetPlayer; }