source: 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Enemy.cs @ 2254

Revision 2234, 893 bytes checked in by teeevasa, 8 years ago (diff)

Talletus.

Line 
1using System;
2using Jypeli;
3using Jypeli.Assets;
4using Jypeli.Controls;
5using Jypeli.Effects;
6using Jypeli.Widgets;
7
8public class GenEnemy : GenCharacter
9{
10    private string AItype
11    {
12        get;
13        set;
14    }
15
16    public GenEnemy(double width, double height, Shape shape, int HP, string AI)
17        : base(width, height, shape)
18    {
19        hitPoints = HP;
20        AItype = AI;
21    }
22}
23
24// Defines the functions that are required from all AIs
25interface AI
26{
27    //void move();
28}
29
30/* Implementation of the "stupid" Patrol-AI
31 *     The Patrol-AI just walks back and forth, waiting for the player to come into sight
32 *     and then it attacks the player.*/
33public class PatrolAI : AI
34{
35
36}
37
38/* Implementation of the Seeker-AI
39 *     The Seeker-AI, in contrast to the Seeker-AI, actively seeks the player.*/
40public class SeekerAI : AI
41{ 
42
43}
Note: See TracBrowser for help on using the repository browser.