#include <PropaneTimers.h>
Inheritance diagram for PropaneTimer:

Public Member Functions | |
| float | getTime () |
| Return the current time used. | |
| virtual bool | update (float delta) |
| Update the timer; delta is in seconds. Returns TRUE if this update tripped the timer. | |
| void | reset () |
| Reset the timer and start over. | |
| void | setLimit (float lim) |
| Set the limit where the timer will trip. | |
| float | percentComplete () |
| Check the percent completed of this timer. | |
| void | setIncrements (bool incr) |
| Set whether or not the timer increments or decrements. | |
| PropaneTimer (float limit, bool increment) | |
| Construct with a limit and the option to increment. | |
| PropaneTimer () | |
| Construct with nothing. | |
| virtual | ~PropaneTimer () |
| Destruct. | |
Protected Attributes | |
| float | timer |
| The current time. | |
| float | limit |
| The limit (when decrementing, resetting will set this to it, otherwise it will set to 0 and count up to this limit). | |
| bool | increments |
| Toggle if it's incrementing or decrementing. | |
1.4.7