init: finish implementation niveau dans le jeu
This commit is contained in:
20
projet_linea/src/Background.java
Normal file
20
projet_linea/src/Background.java
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
import java.awt.Image;
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Classe permettant de définir pour moi ce qu'est un fond d'écran pour mon jeu
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
public class Background {
|
||||
private Image image;
|
||||
|
||||
public Background(Image image){
|
||||
this.image = image;
|
||||
}
|
||||
|
||||
public Image getImage(){
|
||||
return image;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user