monthly enum constructor for habit game

This commit is contained in:
2022-02-28 16:22:54 -07:00
parent e9c6b4d34a
commit 056fa2ae95

View File

@@ -9,6 +9,8 @@ import datetime.DateTime;
enum EntryType {
Daily(daysOfWeek:Array<Int>, lastDayDone:String);
Interval(days:Int, lastDayDone:String);
// -1 represents the last day of the month, and so on
Monthly(daysOfMonth:Array<Int>, lastDayDone:String);
Bonus;
Todo;
}