lesson library

Reading a lesson out of a level: the edu_sequence and edu_step entities a lesson is written as, in the order a viewer plays them (orderedSteps, firstLessonSteps). The question a step asks is CheckQuestion, in experiment.dart.

What a lesson viewer needs and an editor also uses, so neither depends on the other for it. Plain Dart.

Functions

firstLessonSteps(Level level) → List<EntityDef>
The steps of level's first edu_sequence, in its order; none when the level names no sequence. What a viewer that plays one lesson per level opens with.
orderedSteps(Level level, String sequenceName) → List<EntityDef>
The edu_step entities sequenceName names, in the order it names them.