public override bool OnEvent(Simulation.Event ReceivedEvent) { base.OnEvent(ReceivedEvent); return(false); }
public override bool OnEvent(Simulation.Event ReceivedEvent) { base.OnEvent(ReceivedEvent); // TODO IMPLEMENT return(false); }
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); }
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); }
public bool OnEvent(Simulation.Event ReceivedEvent) { return(false); }