Ejemplo n.º 1
0
 public Orc(int id) : base(id)
 {
     AttackableItems = new List <IAttackable>();
     MaxHitpoints    = 2;
     Hitpoints       = 2;
     AttackRange     = 0.8f;
     AttackValue     = 1;
     TotalRecovery   = TimeSpan.FromSeconds(0.6);
     Texture         = "orc.png";
     Name            = "Orc";
     Icon            = "orcicon.png";
     Ai = new AggressiveAi(this, 4f);
 }
Ejemplo n.º 2
0
 public Orc(int id) : base(id)
 {
     AttackableItems = new List<IAttackable>();
     MaxHitpoints = 2;
     Hitpoints = 2;
     AttackRange = 0.8f;
     AttackValue = 1;
     TotalRecovery = TimeSpan.FromSeconds(0.6);
     Texture = "orc.png";
     Name = "Orc";
     Icon = "orcicon.png";
     Ai = new AggressiveAi(this, 4f);
 }