예제 #1
0
 private void DrawMapTransition()
 {
     if (setBg)
     {
         EngineFunctions.SetBackgroundColor(Map.CurLevelInfo.Key);
         setBg = false;
     }
     endLevelParticles.UpdateParticles();
     if (endLevelParticles.NoParticles)
     {
         setBg = true;
         m.ChangeMap();
         levelTransition = false;
         RoomsExplored   = 1;
         player.location = new EngineFunctions.COORD(1, 1);
     }
 }