Fixed splashscreen and changed the way results are handled by front and back
This commit is contained in:
@@ -2,6 +2,8 @@ package be.naaturel.unluckiest.entities;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Entity(name = "Score")
|
||||
public class ScoreEntity {
|
||||
|
||||
@@ -13,6 +15,6 @@ public class ScoreEntity {
|
||||
public String owner;
|
||||
|
||||
@Column
|
||||
public int value;
|
||||
public float value;
|
||||
|
||||
}
|
||||
@@ -3,9 +3,9 @@ package be.naaturel.unluckiest.models;
|
||||
public class Score {
|
||||
|
||||
private String owner;
|
||||
private int value;
|
||||
private float value;
|
||||
|
||||
public Score(String owner, int value){
|
||||
public Score(String owner, float value){
|
||||
this.owner = owner;
|
||||
this.value = value;
|
||||
}
|
||||
@@ -14,7 +14,7 @@ public class Score {
|
||||
return this.owner;
|
||||
}
|
||||
|
||||
public int getValue(){
|
||||
public float getValue(){
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user