|
libscratchcpp
A library for C++ based Scratch project players
|
The ITimer interface represents a timer of a Scratch project. More...
#include <scratchcpp/itimer.h>
Public Member Functions | |
| virtual | ~ITimer () |
| virtual double | value () const =0 |
| virtual void | reset ()=0 |
The ITimer interface represents a timer of a Scratch project.
You can get a project timer using Engine#timer().
|
inlinevirtual |
|
pure virtual |
Resets the timer.
|
pure virtual |
Returns the time since last reset in seconds.