From 056fa2ae953ae3038329aaa6bb6290a7a6b9f660 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 28 Feb 2022 16:22:54 -0700 Subject: [PATCH] monthly enum constructor for habit game --- projects/habit-puzzle-game/source/HabitModel.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/habit-puzzle-game/source/HabitModel.hx b/projects/habit-puzzle-game/source/HabitModel.hx index a33842ba..ecb20375 100644 --- a/projects/habit-puzzle-game/source/HabitModel.hx +++ b/projects/habit-puzzle-game/source/HabitModel.hx @@ -9,6 +9,8 @@ import datetime.DateTime; enum EntryType { Daily(daysOfWeek:Array, lastDayDone:String); Interval(days:Int, lastDayDone:String); + // -1 represents the last day of the month, and so on + Monthly(daysOfMonth:Array, lastDayDone:String); Bonus; Todo; }