source: 2014/26/OttoW/Sticman The Last Stand/Sticman The Last Stand/Sticman The Last Stand/Vihollinen.cs @ 5100

Revision 5100, 606 bytes checked in by otweijo, 7 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6using Jypeli.Assets;
7
8public class Vihollinen : PhysicsObject
9{
10    public IntMeter Elamat { get; set; }
11
12    public Vihollinen(double width, double height, int elamat)
13        :base(width, height)
14    {
15        this.Elamat = new IntMeter(elamat, 0, elamat);
16        this.Elamat.LowerLimit += Destroy;
17        FollowerBrain seuraajanAivot = new FollowerBrain(Sticman_The_Last_Stand.Peli.Pelaajat[0]);
18        seuraajanAivot.Speed = 200;
19        this.Brain = seuraajanAivot;
20    }
21}
Note: See TracBrowser for help on using the repository browser.