Ignore:
Timestamp:
2015-06-10 13:53:17 (6 years ago)
Author:
lesejuku
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/Loner.cs

    r5982 r5999  
    77public class Loner : PhysicsObject 
    88{ 
    9     DoubleMeter Health { get; set; } 
     9    public DoubleMeter Health { get; private set; } 
    1010 
    1111    //FollowerBrain AttackBrain { get; set; } 
     
    1717        this.Health.LowerLimit += Kuoli; 
    1818        this.Health.LowerLimit += this.Destroy; 
     19        this.Mass = 100; 
    1920 
    2021        //this.AttackBrain = new FollowerBrain(target); 
    2122        //this.Brain = AttackBrain; 
     23    } 
     24 
     25    public void Damagea(double amount) 
     26    { 
     27        this.Health.Value -= amount; 
    2228    } 
    2329 
Note: See TracChangeset for help on using the changeset viewer.