source: 2015/24/LeeviK/AS Bandit Experience/AS Bandit Experience/AS Bandit Experience/Loner.cs @ 5982

Revision 5982, 645 bytes checked in by lesejuku, 6 years ago (diff)
RevLine 
[5982]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6
7public class Loner : PhysicsObject
8{
9    DoubleMeter Health { get; set; }
10
11    //FollowerBrain AttackBrain { get; set; }
12
13    public Loner(double width, double height, double hp, PhysicsObject target)
14        :base(width, height)
15    {
16        this.Health = new DoubleMeter(hp, 0, hp);
17        this.Health.LowerLimit += Kuoli;
18        this.Health.LowerLimit += this.Destroy;
19
20        //this.AttackBrain = new FollowerBrain(target);
21        //this.Brain = AttackBrain;
22    }
23
24    private void Kuoli()
25    {
26
27    }
28}
Note: See TracBrowser for help on using the repository browser.