Esempio n. 1
0
 public void PushFrameCommand(IFrameCommand command)
 {
     command.cmdId = this.NewCommandId;
     if (this.bActive)
     {
         command.OnReceive();
     }
     else
     {
         command.frameNum = this.CurFrameNum;
     }
     this.commandQueue.Enqueue(command);
 }
Esempio n. 2
0
        public void PushFrameCommand(IFrameCommand command)
        {
            command.cmdId = NewCommandId;
            if (_bActive)
            {
                command.OnReceive();
            }
            else
            {
                command.frameNum = CurFrameNum;
            }

            commandQueue.Enqueue(command);
        }