示例#1
0
 private void StartLevel()
 {
     _map = _levelSetup.Map;
     _map.Reset();
     _aiBot          = new AiBot(_map);
     _exitGhostHouse = _levelSetup.ExitGhostHouse;
     ResetGhostsAndPacMan();
     _gameDraw.DrawMap(_map, false);
     _pillCount = 0;
     _powerPillAnimation.Reset();
     _scoreAnimation.Reset();
     _bonusFruit.SetLevel(_level);
     _ghostHouse.SetLevel(_level, Ghosts);
     _random = new Random();
 }