2024-05-03 12:22:01 +02:00
|
|
|
package Domain;
|
|
|
|
|
|
|
|
public class Category {
|
|
|
|
|
|
|
|
private String name;
|
|
|
|
private String description;
|
|
|
|
private boolean scored;
|
|
|
|
private int score;
|
|
|
|
|
2024-05-03 21:10:44 +02:00
|
|
|
public Category(String name, String description){
|
2024-05-03 12:22:01 +02:00
|
|
|
this.name = name;
|
|
|
|
this.description = description;
|
|
|
|
this.scored = false;
|
2024-05-03 21:10:44 +02:00
|
|
|
this.score = 0;
|
2024-05-03 12:22:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getName(){
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDescription(){
|
|
|
|
return description;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isScored(){
|
|
|
|
return scored;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getScore(){
|
|
|
|
return score;
|
|
|
|
}
|
|
|
|
|
2024-05-03 21:10:44 +02:00
|
|
|
public boolean correctCategory(int[] values){
|
2024-05-03 12:22:01 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|