예제 #1
0
        public bool GetTowerState(ref TowerState state)
        {
            if (state == null)
                throw new ArgumentNullException();
            if (receivedState == null)
                throw new NullReferenceException();

            state = receivedState;
            return true;
        }
예제 #2
0
 public bool SetTowerState(TowerState state)
 {
     newState = state;
     refresh = true;
     return true;
 }