Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | using Jypeli; |
---|
6 | using Jypeli.Assets; |
---|
7 | |
---|
8 | namespace Entity |
---|
9 | { |
---|
10 | public class TestEntity : EntityBase |
---|
11 | { |
---|
12 | public TestEntity(TheDungeonGame game, Vector pos, Vector size, Shape shape) |
---|
13 | : base(game, pos, size, shape) |
---|
14 | { |
---|
15 | } |
---|
16 | |
---|
17 | public override void init() |
---|
18 | { |
---|
19 | //throw new NotImplementedException(); |
---|
20 | } |
---|
21 | } |
---|
22 | |
---|
23 | public class EntityFly : EntityBase |
---|
24 | { |
---|
25 | public EntityFly(TheDungeonGame game, Vector pos, Vector size, Shape shape) |
---|
26 | : base(game, pos, size, shape) |
---|
27 | { |
---|
28 | } |
---|
29 | |
---|
30 | public override void init() |
---|
31 | { |
---|
32 | Brain = new FollowerBrain(game.Player,200); |
---|
33 | Brain.Active = true; |
---|
34 | } |
---|
35 | } |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.