Пример #1
0
 public void drawMap()
 {
     if (_currentMap != null)
     {
         _currentMap.draw();
     }
 }
Пример #2
0
        public void drawMap()
        {
            if (_currentMap != null)
            {
                _currentMap.draw();
            }

            //draw the transition if it's there
            if (_transition != null)
            {
                _transition.draw((int)CMasterControl.camera._normalizedPosition.X, (int)CMasterControl.camera._normalizedPosition.Y);

                if (_transition.fadeOutComplete)
                {
                    _transition = null;
                    return;
                }

                if (_transition.fadeInComplete)
                {
                    _swapMap();
                }
            }
        }