Implement number flags

This commit is contained in:
nemunaire 2021-11-12 21:36:27 +01:00
commit c3742ade4e
6 changed files with 104 additions and 5 deletions

View file

@ -46,6 +46,9 @@ type ExerciceFlag struct {
LockedFile []ExerciceUnlockFile `toml:"unlock_file,omitempty"`
NeedFlag []ExerciceDependency `toml:"need_flag,omitempty"`
NoShuffle bool
NumberMin interface{} `toml:"min,omitempty"`
NumberMax interface{} `toml:"max,omitempty"`
NumberStep interface{} `toml:"step,omitempty"`
}
// ExerciceFlagChoice holds informations about a choice (for MCQ and UCQ).