Constructor
new SequenceRegInfo(sqReg)
SequenceRegInfo constructor
Parameters:
Name | Type | Description |
---|---|---|
sqReg | module:report/SequenceReg. | The |
- Source
Members
nActClosed :number
Number of activities already closed
Type:
- number
- Source
nActScore :number
Number of activities with score > 0
Type:
- number
- Source
nActSolved :number
Number of activities solved
Type:
- number
- Source
nActions :number
Number of actions done by the user while in this sequence
Type:
- number
- Source
nActivities :number
Number of activities played in this sequence
Type:
- number
- Source
ratioSolved :number
Percentage of solved activities
Type:
- number
- Source
sqReg :module:report/SequenceReg.SequenceReg
The SequenceReg
associated to this "info" object
- Source
tScore :number
Sum of the scores of all the activities played
Type:
- number
- Source
tTime :number
Sum of the playing time reported by each activity (not always equals to the sequence's total time)
Type:
- number
- Source
valid :boolean
When false
, data must be recalculated
Type:
- boolean
- Source
Methods
clear()
Clears all global data associated with this sequence
- Source
recalc() → {module:report/SequenceReg.SequenceRegInfo}
Computes the value of all global variables based on the data stored in activities
- Source
Returns:
- This "info" object