ajout des niveaux
This commit is contained in:
25
src/Niveau.java
Normal file
25
src/Niveau.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package linea;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
public class Niveau {
|
||||
|
||||
public final int numero;
|
||||
public final Color couleurFond;
|
||||
public final double vitesseScroll;
|
||||
public final double noiseFrequence; // vitesse d'avancement dans le noise
|
||||
public final double rayonCercle;
|
||||
public final double limiteHaut;
|
||||
public final double limiteBas;
|
||||
|
||||
public Niveau(int numero, Color couleurFond, double vitesseScroll,
|
||||
double noiseFrequence, double rayonCercle, double limiteHaut, double limiteBas) {
|
||||
this.numero = numero;
|
||||
this.couleurFond = couleurFond;
|
||||
this.vitesseScroll = vitesseScroll;
|
||||
this.noiseFrequence = noiseFrequence;
|
||||
this.rayonCercle = rayonCercle;
|
||||
this.limiteHaut = limiteHaut;
|
||||
this.limiteBas = limiteBas;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user