emotionhero/app/src/main/java/com/rubenvandeven/emotionhero/Score.java

29 lines
595 B
Java
Raw Normal View History

2016-08-19 21:47:15 +02:00
package com.rubenvandeven.emotionhero;
2016-08-22 16:47:35 +02:00
import java.util.ArrayList;
2016-08-19 21:47:15 +02:00
import java.util.Date;
2016-08-23 01:35:33 +02:00
import java.util.UUID;
2016-08-19 21:47:15 +02:00
/**
* Created by ruben on 19/08/16.
*/
public class Score {
2016-08-23 01:35:33 +02:00
public UUID id = UUID.randomUUID();
public int lvl_id;
public float score;
public Date time;
2016-08-19 21:47:15 +02:00
2016-08-22 16:47:35 +02:00
ArrayList<Scenario.Target> targets = new ArrayList<>();
public Score(int lvl_id, float score) {
this.lvl_id = lvl_id;
2016-08-19 21:47:15 +02:00
this.score = score;
this.time = new Date();
}
2016-08-22 16:47:35 +02:00
public void setTargets(ArrayList<Scenario.Target> targets) {
this.targets = targets;
}
2016-08-19 21:47:15 +02:00
}