Ignore:
Timestamp:
2014-07-23 15:12:08 (5 years ago)
Author:
anlakane
Message:

Lisätty mm. ampuminen ja vihollisten tekoälyä.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MiskaK/The Reclaim/The Reclaim/The Reclaim/The Reclaim/LivingEntity.cs

    r5515 r5602  
    4242    { 
    4343        this.Health = new DoubleMeter(0); 
    44         this.Health.Value = 20; 
    45         this.Health.LowerLimit += Kuoli; 
     44        this.Health.Value = 100; 
     45        this.Health.LowerLimit += Kuolema; 
    4646 
    4747        ReittiAivot = new PathFollowerBrain(); 
     
    8989        this.Health.Value -= amount; 
    9090    } 
     91 
     92    public virtual void Kuolema() 
     93    { 
     94        if (Kuoli != null) 
     95            Kuoli(); 
     96 
     97        this.Destroy(); 
     98    } 
    9199} 
Note: See TracChangeset for help on using the changeset viewer.