public Fighter(GameObject owner, int hp, int attack, int defense, int xp, Constants.AI ai, Constants.Death death) { Owner = owner; HP = hp; Max_HP = hp; this.attack = attack; Defense = defense; XP = xp; AI = new AI(ai); DeathFunction = death; }
public AI(Constants.AI type) { Type = type; }