groundwork for puzzle pack detection & choosing next puzzle
This commit is contained in:
@@ -6,6 +6,7 @@ import kiss.Stream;
|
||||
import sys.io.File;
|
||||
import datetime.DateTime;
|
||||
import datetime.DateTimeInterval;
|
||||
import haxe.ds.Option;
|
||||
|
||||
enum EntryType {
|
||||
Daily(daysOfWeek:Array<Int>, lastDayDone:String);
|
||||
@@ -31,5 +32,18 @@ typedef RewardFile = {
|
||||
startingPoints: Int
|
||||
};
|
||||
|
||||
typedef Puzzle = {
|
||||
path:Null<String>,
|
||||
index:Int,
|
||||
outOf:Int
|
||||
}
|
||||
|
||||
typedef PuzzlePack = {
|
||||
path:String,
|
||||
nextPuzzle:Option<Puzzle>,
|
||||
puzzlesDone:Int,
|
||||
puzzlesTotal:Int
|
||||
};
|
||||
|
||||
@:build(kiss.Kiss.build())
|
||||
class HabitModel {}
|
||||
|
Reference in New Issue
Block a user