Changeset 5999 for 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/Loner.cs
- Timestamp:
- 2015-06-10 13:53:17 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/Loner.cs
r5982 r5999 7 7 public class Loner : PhysicsObject 8 8 { 9 DoubleMeter Health { get;set; }9 public DoubleMeter Health { get; private set; } 10 10 11 11 //FollowerBrain AttackBrain { get; set; } … … 17 17 this.Health.LowerLimit += Kuoli; 18 18 this.Health.LowerLimit += this.Destroy; 19 this.Mass = 100; 19 20 20 21 //this.AttackBrain = new FollowerBrain(target); 21 22 //this.Brain = AttackBrain; 23 } 24 25 public void Damagea(double amount) 26 { 27 this.Health.Value -= amount; 22 28 } 23 29
Note: See TracChangeset
for help on using the changeset viewer.