Exemplo n.º 1
0
 private void DrawingTimer_Tick(object sender, EventArgs e)
 {
     ShowScene();
     if (Dead ||
         ((((!RGhost.CaughtPacman(Pman)) && (!YGhost.CaughtPacman(Pman))) && (!BGhost.CaughtPacman(Pman))) &&
          (!PGhost.CaughtPacman(Pman))))
     {
         return;
     }
     Dead = true;
     Pman.ReduceTries();
     GhostTimer.Stop();
     PinkGhostAppearTimer = 25;
 }