Exemple #1
0
 public Entity(string name, PersoType type, int hp, Weapon weapon, POO.Stormp.Stormtroopers escouade)
 {
     this.Name     = name;
     this.type     = type;
     this.hp       = hp;
     this.Weapon   = weapon;
     this.Escouade = escouade;
 }
Exemple #2
0
 public Jedi(string name, PersoType type, int hp, Weapon weapon, POO.Stormp.Stormtroopers escouade,
             int attack, int heal) : base(name, type, hp, weapon, escouade, attack)
 {
     this.Heal = heal;
 }
Exemple #3
0
 public Sith(string name, PersoType type, int hp, Weapon weapon, POO.Stormp.Stormtroopers escouade,
             int attack) : base(name, type, hp, weapon, escouade)
 {
     this.Attack = attack;
 }