Exemplo n.º 1
0
        public static WaitEvent CreateEmptyEvent(Creature nEnt)
        {
            WaitEvent wEvent = new WaitEvent(nEnt);

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

            return wEvent;
        }
Exemplo n.º 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;
        }