示例#1
0
        internal override void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics)
        {
            IBasicEvents listener = robot.GetBasicEventListener();

            if (listener != null)
            {
                listener.OnStatus(this);
            }
        }
示例#2
0
        internal override void Dispatch(IBasicRobot robot, IRobotStaticsN statics, IGraphics graphics)
        {
            IBasicEvents listener = robot.GetBasicEventListener();

            if (listener != null)
            {
                listener.OnRobotDeath(this);
            }
        }
示例#3
0
 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);
         }
     }
 }
示例#4
0
 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);
                }
            }
        }