Modification ligne sort ecran + taille voiture de base + frequence spwan bonus/malus
This commit is contained in:
@@ -67,7 +67,7 @@ public class Ligne extends ObjetGraphique{// Hérite de la classe ObjetGraphique
|
||||
} else {
|
||||
dy = (Math.random() * (2.0 * inclinaisonMax)) - inclinaisonMax;
|
||||
|
||||
if (y + dy < 0 || y + dy > 600) {
|
||||
if (y + dy < 50 || y + dy > 550) {
|
||||
dy = -dy;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user