Beispiel #1
0
 public RobotStatusChangedEventArgs(RobotStatus newStatus) : base()
 {
     this.CurrentStatus = newStatus;
 }
        // -----------
        // battle driven methods
        // -----------

        internal abstract void initializeRound(ExecCommands commands, RobotStatus status);
Beispiel #3
0
 public void SetLostStatus()
 {
     Status = RobotStatus.Lost;
 }
Beispiel #4
0
 private void updateStatus(ExecCommands commands, RobotStatus status)
 {
     this.status   = status;
     this.commands = commands;
 }
Beispiel #5
0
        public uint GetRobotStatus(uint nRobotID, ref RobotStatus myRobotStatus)
        {
            uint nValue = 0;
            try
            {
                nValue = PTRobot_GetRobotStatus(nRobotID, myRobotStatus);
            }
            catch (Exception e)
            {
                MessageBox.Show("PTRobot_GetRobotStatus() failed:\n" + e.Message);
            }

            return nValue;
        }