mirror of
https://github.com/guezoloic/racing-game.git
synced 2026-03-28 18:03:50 +00:00
fix(game): inversion fonction d'arret isGameOver
This commit is contained in:
@@ -286,7 +286,7 @@ public class Game {
|
|||||||
*/
|
*/
|
||||||
// DOIT ETRE MODIFIÉE SI AJOUT CONDITION DE FIN
|
// DOIT ETRE MODIFIÉE SI AJOUT CONDITION DE FIN
|
||||||
private boolean isGameOver() {
|
private boolean isGameOver() {
|
||||||
return !(hasEnoughFuel());
|
return hasEnoughFuel();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user