Kanzi  3.9.9
Kanzi Engine Java API
MainLoopScheduler.Task Interface Reference

A task that can be added for one-time or repeated execution by MainLoopScheduler. More...

Public Member Functions

void handle (Duration lastFrameDuration)
 Called when the task gets executed. More...
 

Detailed Description

A task that can be added for one-time or repeated execution by MainLoopScheduler.

Member Function Documentation

void handle ( Duration  lastFrameDuration)

Called when the task gets executed.

Parameters
lastFrameDurationTime elapsed between start of last and current main loop iteration.