public Hero(int id, int hp, int damage, string name, string className) { this.id = id; this.hp = hp; this.damage = damage; this.name = name; this.classType = PlayerClassType.newSubclassInstance(className); }
public Hero(int id, int hp, int damage, string name, PlayerClassType classType) { this.id = id; this.hp = hp; this.damage = damage; this.name = name; this.classType = classType; }