Fixed splashscreen and changed the way results are handled by front and back

This commit is contained in:
Laurent
2024-10-29 22:54:00 +01:00
parent 8be7b82db6
commit a19533a20f
13 changed files with 104 additions and 38 deletions

View File

@@ -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;
}

View File

@@ -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;
}