Class DrillItem

java.lang.Object
me.nickhanson.codeforge.entity.DrillItem

@Entity public class DrillItem extends Object
Represents a DrillItem entity, which is associated with a Challenge and tracks the user's progress in a drill. This entity includes fields for tracking the number of times the item has been seen, the current streak of correct answers, and the next scheduled appearance of the item.
Author:
Nick Hanson
  • Constructor Details

    • DrillItem

      public DrillItem(Challenge challenge)
      Constructs a new DrillItem associated with the specified Challenge.
      Parameters:
      challenge - The Challenge to associate with this DrillItem.