public void Init() { Barbarian = new Barbarian(); }
public void CreatePlayerClass(string playerClass) { switch (playerClass) { case "Barbarian": PlayerClass = new Barbarian(); break; case "Bard": PlayerClass = new Bard(); break; case "Cleric": PlayerClass = new Cleric(); break; case "Druid": PlayerClass = new Druid(); break; case "Fighter": PlayerClass = new Fighter(); break; case "Monk": PlayerClass = new Monk(); break; case "Paladin": PlayerClass = new Paladin(); break; case "Ranger": PlayerClass = new Ranger(); break; case "Rogue": PlayerClass = new Rogue(); break; case "Sorcerer": PlayerClass = new Sorcerer(); break; case "Wizard": PlayerClass = new Wizard(); break; } }