internal override void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics) { IBasicEvents listener = robot.GetBasicEventListener(); if (listener != null) { listener.OnStatus(this); } }
internal override void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics) { IBasicEvents listener = robot.GetBasicEventListener(); if (listener != null) { listener.OnRobotDeath(this); } }
internal override void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics) { if (robot != null) { var listener = robot.GetBasicEventListener() as IBasicEvents2; if (listener != null) { listener.OnBattleEnded(this); } } }
internal override void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics) { if (robot != null) { var listener = robot.GetBasicEventListener() as IBasicEvents2; if (listener != null) { listener.OnBattleEnded(this); } } }
internal override sealed void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics) { if (robot != null) { IBasicEvents3 listener = robot.GetBasicEventListener() as IBasicEvents3; if (listener != null) { listener.OnRoundEnded(this); } } }
internal override sealed void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics) { if (robot != null) { IBasicEvents3 listener = robot.GetBasicEventListener() as IBasicEvents3; if (listener != null) { listener.OnRoundEnded(this); } } }