예제 #1
0
        public override bool OnEvent(Simulation.Event ReceivedEvent)
        {
            base.OnEvent(ReceivedEvent);


            return(false);
        }
예제 #2
0
        public override bool OnEvent(Simulation.Event ReceivedEvent)
        {
            base.OnEvent(ReceivedEvent);
            // TODO IMPLEMENT


            return(false);
        }
예제 #3
0
        public override bool OnEvent(Simulation.Event ReceivedEvent)
        {
            base.OnEvent(ReceivedEvent);
            // TODO IMPLEMENT

/*
 *          if (ReceivedEvent is Simulation.Events.BuildingContructionDoneEvent)
 *          {
 *              Simulation.Events.BuildingContructionDoneEvent e = (Simulation.Events.BuildingContructionDoneEvent)ReceivedEvent;
 *
 *              Console.WriteLine("Saw New Building");
 *
 *              return true;
 *          }
 */

            return(false);
        }
예제 #4
0
        public override bool OnEvent(Simulation.Event ReceivedEvent)
        {
            base.OnEvent(ReceivedEvent);
            // TODO IMPLEMENT

/*
 *          if (ReceivedEvent is Simulation.Events.BuildingContructionDoneEvent)
 *          {
 *              Simulation.Events.BuildingContructionDoneEvent e = (Simulation.Events.BuildingContructionDoneEvent)ReceivedEvent;
 *
 *              Console.WriteLine("Saw New Building");
 *
 *              return true;
 *          }
 *
 *          if (ReceivedEvent is Simulation.Events.EntityLostFocus)
 *          {
 *              Simulation.Events.EntityLostFocus e = (Simulation.Events.EntityLostFocus)ReceivedEvent;
 *
 *              if (e.SourceEntity == this)
 *              {
 *                  this.HasMouseFocus = false;
 *              }
 *
 *          }
 *
 *          if (ReceivedEvent is Simulation.Events.EntityHasFocusEvent)
 *          {
 *              Simulation.Events.EntityHasFocusEvent e = (Simulation.Events.EntityHasFocusEvent)ReceivedEvent;
 *
 *              if (e.SourceEntity == this)
 *              {
 *                  this.HasMouseFocus = true;
 *              }
 *
 *          }
 */
            return(false);
        }
예제 #5
0
 public bool OnEvent(Simulation.Event ReceivedEvent)
 {
     return(false);
 }