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


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


            return(false);
        }
Example #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);
        }
Example #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);
        }
Example #5
0
 public bool OnEvent(Simulation.Event ReceivedEvent)
 {
     return(false);
 }