Utility class used to move node with constant velocity. More...
#include <constant-velocity-helper.h>
Public Member Functions | |
ConstantVelocityHelper (const Vector &position) | |
ConstantVelocityHelper (const Vector &position, const Vector &vel) | |
void | SetPosition (const Vector &position) |
Vector | GetCurrentPosition (void) const |
Vector | GetVelocity (void) const |
void | SetVelocity (const Vector &vel) |
void | Pause (void) |
void | Unpause (void) |
void | UpdateWithBounds (const Rectangle &rectangle) const |
void | UpdateWithBounds (const Box &bounds) const |
void | Update (void) const |
Utility class used to move node with constant velocity.