private void Handler_OnChangeColorRequest(ChangeColorRequest e)
        {
            logger.Debug("Received ChangeColorRequest on ServerActor. color = {0}", e.Color);

            color = e.Color;

            ChangeColor changeColor = new ChangeColor();
            changeColor.Color = color;
            changeColor.TargetOId = dObject.OId;

            communicator.Broadcast(changeColor);
        }
예제 #2
0
 private void Handler_OnChangeColor(ChangeColor e)
 {
     logger.Debug("Received ChangeColorRequest on ServerActor. color = {0}", e.Color);
     color = e.Color;
 }