OpenMW
|
#include <timeadvancer.hpp>
Public Types | |
typedef MyGUI::delegates::CMultiDelegate0 | EventHandle_Void |
typedef MyGUI::delegates::CMultiDelegate2 < int, int > | EventHandle_IntInt |
Public Member Functions | |
TimeAdvancer (float delay) | |
void | run (int hours, int interruptAt=-1) |
void | stop () |
void | onFrame (float dt) |
int | getHours () |
bool | isRunning () |
Public Attributes | |
EventHandle_IntInt | eventProgressChanged |
EventHandle_Void | eventInterrupted |
EventHandle_Void | eventFinished |
Private Attributes | |
bool | mRunning |
int | mCurHour |
int | mHours |
int | mInterruptAt |
float | mDelay |
float | mRemainingTime |
typedef MyGUI::delegates::CMultiDelegate2<int, int> MWGui::TimeAdvancer::EventHandle_IntInt |
typedef MyGUI::delegates::CMultiDelegate0 MWGui::TimeAdvancer::EventHandle_Void |
MWGui::TimeAdvancer::TimeAdvancer | ( | float | delay | ) |
int MWGui::TimeAdvancer::getHours | ( | ) |
bool MWGui::TimeAdvancer::isRunning | ( | ) |
void MWGui::TimeAdvancer::onFrame | ( | float | dt | ) |
void MWGui::TimeAdvancer::stop | ( | ) |
EventHandle_Void MWGui::TimeAdvancer::eventFinished |
EventHandle_Void MWGui::TimeAdvancer::eventInterrupted |
EventHandle_IntInt MWGui::TimeAdvancer::eventProgressChanged |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |