You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
613 B
C++
34 lines
613 B
C++
#ifndef MWGUI_JAILSCREEN_H
|
|
#define MWGUI_JAILSCREEN_H
|
|
|
|
#include "windowbase.hpp"
|
|
#include "timeadvancer.hpp"
|
|
|
|
namespace MWGui
|
|
{
|
|
class JailScreen : public WindowBase
|
|
{
|
|
public:
|
|
JailScreen();
|
|
void goToJail(int days);
|
|
|
|
void onFrame(float dt);
|
|
|
|
bool exit() { return false; }
|
|
|
|
private:
|
|
int mDays;
|
|
|
|
float mFadeTimeRemaining;
|
|
|
|
MyGUI::ScrollBar* mProgressBar;
|
|
|
|
void onJailProgressChanged(int cur, int total);
|
|
void onJailFinished();
|
|
|
|
TimeAdvancer mTimeAdvancer;
|
|
};
|
|
}
|
|
|
|
#endif
|