Пример #1
0
    public void ChangeState(OrbPosition.State newState)
    {
        if (_state != newState)
        {
            _state = newState;

            foreach (OrbPosition o in _orbPositions)
            {
                o.OrbState = newState;
            }
        }
    }
Пример #2
0
 private void StateChange(OrbPosition.State newState)
 {
     _state = newState;
 }