5#ifndef JPP_I_TIMER_HPP_INCLUDED
6#define JPP_I_TIMER_HPP_INCLUDED
8#include <jimcpp/core/engine/IReferenceCounted.hpp>
Base class of most objects of the Jimcpp Engine.
Definition IReferenceCounted.hpp:46
Interface for getting and manipulating the virtual time.
Definition ITimer.hpp:15
virtual void tick()=0
Advances the virtual time.
virtual void stop()=0
Stops the virtual timer.
virtual bool isStopped() const =0
Returns if the virtual timer is currently stopped.
virtual u32 getTime() const =0
Returns current virtual time in milliseconds.
virtual void setTime(u32 time)=0
sets current virtual time
virtual void start()=0
Starts the virtual timer.
virtual f32 getSpeed() const =0
Returns current speed of the timer.
virtual u32 getRealTime() const =0
Returns current real time in milliseconds of the system.
virtual void setSpeed(f32 speed=1.0f)=0
Sets the speed of the timer.
As of Jimcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64
float f32
32 bit floating point variable.
Definition irrTypes.hpp:110