source: 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/Ai/Orders/Order.cs @ 4581

Revision 4581, 540 bytes checked in by dezhidki, 8 years ago (diff)

Talletus.

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using CastleMaster.World;
6using CastleMaster.Units.Mobs;
7
8namespace CastleMaster.Ai.Orders
9{
10    public class Order
11    {
12        protected Mob mob;
13
14        public virtual Order Initialize(Mob mob)
15        {
16            this.mob = mob;
17            return this;
18        }
19
20        public virtual void Update() { }
21
22        public virtual bool Finished { get { return true; } }
23    }
24
25    public class OrderIdle : Order { }
26}
Note: See TracBrowser for help on using the repository browser.