public Knight(string name, Point position, int owner)
     : base(name,position,owner)
 {
     this.AttackPoints = initioalAttackPoints;
     this.DefensePoints = initialDefensePoints;
     this.HitPoints = initialHitPoints;
 }
Exemple #2
0
 // Constructor
 public Giant(string name, Point position)
     : base(name, position, 0)
 {
     this.HitPoints = 200;
     this.isTaken = false;
     this.attackPoints = 150;
 }
 public Giant(string name, Point position)
     : base(name, position, NoOwner)
 {
     this.HitPoints = 200;
     this.AttackPoints = 150;
     this.addAttackPoints = 100;
 }
 public Knight(string name, Point position, int owner)
     : base(name, position, owner)
 {
     this.HitPoints = 100;
 }
 public Ninja(string name, Point position, int owner)
     : base(name, position, owner)
 {
     this.HitPoints = 1;
     this.AttackPoints = 0;
 }
Exemple #6
0
 public Ninja(string name, Point position, int owner) : base(name, position, owner)
 {
     this.HitPoints = 1;
     this.DefensePoints = int.MaxValue;
 }
 public Giant(string name, Point position)
     : base(name, position, 0)
 {
     this.HitPoints = INITIAL_HIT_POINTS;
     this.attackPointsAccumulation = 0;
 }