예제 #1
0
        void IDispatcher.SendSimulationState(SimulationStateMessage pMessage)
        {
            IDispatcher target;

            lock (this) {
                target = Target;
            }
            if (target != null)
            {
                target.SendSimulationState(pMessage);
            }
        }
예제 #2
0
 public virtual void SendSimulationState(SimulationStateMessage pMessage)
 {
 }
예제 #3
0
파일: World.cs 프로젝트: Hawk777/iecc8
 void IDispatcher.SendSimulationState(SimulationStateMessage pMessage)
 {
     MessageReceived = true;
     SyncContext.Post((object state) => SimulationTime = pMessage.SimulationTime, null);
 }