source: 2013/27/TeemuM/Game/Game/Game/Enemies.cs @ 4359

Revision 4359, 938 bytes checked in by teematma, 8 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6using Jypeli.Assets;
7using Jypeli.Controls;
8using Jypeli.Effects;
9using Jypeli.Widgets;
10
11public class Zombie1 : PhysicsObject
12{
13    public Zombie1(double widht, double height) : base(widht, height)
14    {
15        this.Shape = Shape.Circle;
16        createBrain1();
17    }
18
19    public void createBrain1()
20    {
21        FollowerBrain brain1 = new FollowerBrain("Player");
22        brain1.Speed = 100;
23        brain1.Active = true;
24        Zombie1.Brain = brain1;
25       
26    }
27}
28
29public class Zombie2 : PhysicsObject
30{
31    public Zombie2(double widht, double height) : base(widht, height)
32    {
33        this.Shape = Shape.Circle;
34    }
35}
36
37public class Zombie3 : PhysicsObject
38{
39    public Zombie3(double widht, double height) : base(widht, height)
40    {
41        this.Shape = Shape.Circle;
42    }
43
44}
Note: See TracBrowser for help on using the repository browser.