wavelength 1.0.0
Loading...
Searching...
No Matches
partunlockdonescreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/unlockscreen.h"
4#include "script/dataarray.h"
5
16public:
23 ~PartUnlockDoneScreen() override = default;
24
33
44 static UIScreen *New(DataArray *pData) {
45 return new PartUnlockDoneScreen(pData);
46 }
47
55 void Poll(float fTime) override;
56
65 void Enter(UIScreen *pPrevScreen, float fTime) override;
66
67private:
68 float mAdvanceMs;
69};
Reference-counted array of script data nodes.
Definition dataarray.h:20
void Enter(UIScreen *pPrevScreen, float fTime) override
Start the entry and time the next queued unlock ten seconds later.
~PartUnlockDoneScreen() override=default
Destroy the object.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition partunlockdonescreen.h:44
void Poll(float fTime) override
Show the next queued unlock once the time has come.
PartUnlockDoneScreen(DataArray *pData)
Construct the screen from its script description.
One front-end screen, a set of panels shown together with one panel holding the focus.
Definition uiscreen.h:35
UnlockScreen(DataArray *pData)
Construct the screen from its script description.