private void GameUpdate() { enemy.Move(); if (GameOver.gameOver) { return; } player.Move(); statusLine.UpdateLine(); if (player.IsSelfCrosed() || enemy.IsHitTrackOrPlayer()) { player.DecreaseCountLives(); if (Player.GetCountLives() > 0) { player.Reset(); Field.ClearTrack(); } else { statusLine.UpdateLine(); Field.ClearTrack(); GameOver.SetGameOver(true); } } if (Field.GetCurrentPercent() >= percentOfWaterCapture) { Field.Reset(); enemy.Reset(); enemy.AddEnemyWater(); player.Reset(); } }