Un peu de ménage dans le git
This commit is contained in:
34
src/fr/monkhanny/dorfromantik/gui/Reward.java
Normal file
34
src/fr/monkhanny/dorfromantik/gui/Reward.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package fr.monkhanny.dorfromantik.gui;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
// Classe pour représenter une récompense
|
||||
public class Reward {
|
||||
private String name;
|
||||
private String description;
|
||||
private boolean isUnlocked;
|
||||
private ImageIcon icon;
|
||||
|
||||
public Reward(String name, String description, boolean isUnlocked, ImageIcon icon) {
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
this.isUnlocked = isUnlocked;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public boolean isUnlocked() {
|
||||
return isUnlocked;
|
||||
}
|
||||
|
||||
public ImageIcon getIcon() {
|
||||
return icon;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user