示例#1
0
 public void Unload()
 {
     if (!Globals.IsFinnished)
     {
         OnGameFinished(Globals.TotalScore, GameFinishedEventArgs.EndReason.InteruptedByUser);
     }
     _elemManager.DestroyAllObjects();
     _elemManager.Unload();
     _music.Destroy();
 }