示例#1
0
        public static WaitEvent CreateEmptyEvent(Creature nEnt)
        {
            WaitEvent wEvent = new WaitEvent(nEnt);

            wEvent.CreateTime = Game.TurnsPassed;
            wEvent.ActivateTime = Game.TurnsPassed + 0;

            return wEvent;
        }
示例#2
0
        public static WaitEvent CreateWaitEvent(Creature nWait)
        {
            WaitEvent wEvent = new WaitEvent(nWait);
            wEvent.CreateTime = Game.TurnsPassed;
            wEvent.ActivateTime = Game.TurnsPassed + 5;

            nWait.State = Creature.EntityState.BUSY;

            return wEvent;
        }