Пример #1
0
 public Enemy(int id, string name, string desc, float hp, int speed, int attack, int defence, int level, int power, AblityTypes type, int itemDroped, ElementType etype, float currentHp)
 {
     this.ID          = id;
     this.Name        = name;
     this.Description = desc;
     this.HP          = hp;
     this.Speed       = speed;
     this.Attack      = attack;
     this.Defence     = defence;
     this.Level       = level;
     this.Power       = power;
     this.Type        = type;
     this.ItemDroped  = itemDroped;
     this.Etype       = etype;
     this.CurrentHP   = currentHp;
 }
Пример #2
0
 public Player(int id, string name, string desc, float hp, int speed, int attack, int defence, int level, int power, AblityTypes type, ElementType etype, float currentHealth)
 {
     this.ID          = id;
     this.Name        = name;
     this.Description = desc;
     this.HP          = hp;
     this.Speed       = speed;
     this.Attack      = attack;
     this.Defence     = defence;
     this.Level       = level;
     this.Power       = power;
     this.Type        = type;
     this.Etype       = etype;
 }