Skip to content

PathTracker

Inheritance

Constructors

PathTracker

PathTracker(
  1. RPActivityEventLogger gestureController,
  2. List<Location> locations
)

Properties

gestureController

RPActivityEventLogger gestureController
getter/setter pair

index

int index
getter/setter pair

locations

List<Location> locations
getter/setter pair

mistakeCount

int mistakeCount
getter/setter pair

nextLocation

Location nextLocation
getter/setter pair

prevLocation

Location prevLocation
getter/setter pair

startTime

DateTime startTime
getter/setter pair

taskStarted

bool taskStarted
getter/setter pair

Methods

addNewPath

void addNewPath(
  1. Offset pos
)

deleteWrong

void deleteWrong()

endCurrentPath

void endCurrentPath()

updateCurrentPath

void updateCurrentPath(
  1. Offset newPos,
  2. void testConcluded(
    1. int result,
    2. int mistakes
    )
)