|
|
@ -33,8 +33,6 @@ public abstract class ScoreList implements Iterable<Score>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
protected Habit habit;
|
|
|
|
protected Habit habit;
|
|
|
|
|
|
|
|
|
|
|
|
protected ModelObservable observable = new ModelObservable();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setHabit(Habit habit)
|
|
|
|
public void setHabit(Habit habit)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this.habit = habit;
|
|
|
|
this.habit = habit;
|
|
|
@ -50,11 +48,6 @@ public abstract class ScoreList implements Iterable<Score>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public abstract void add(List<Score> scores);
|
|
|
|
public abstract void add(List<Score> scores);
|
|
|
|
|
|
|
|
|
|
|
|
public ModelObservable getObservable()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return observable;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Returns the value of the score for today.
|
|
|
|
* Returns the value of the score for today.
|
|
|
|
*
|
|
|
|
*
|
|
|
|