wavelength 1.0.0
Loading...
Searching...
No Matches
netendgamescreen.h
Go to the documentation of this file.
1#pragma once
2
4#include "script/dataarray.h"
7
17public:
24 ~NetEndGameScreen() override = default;
25
33 explicit NetEndGameScreen(DataArray *pData);
34
45 static UIScreen *New(DataArray *pData) {
46 return new NetEndGameScreen(pData);
47 }
48
57 bool DispatchPriv(Message *pMsg) override;
58
66 void Poll(float fTime) override;
67
77
87
88private:
89 float mEndTime;
90};
Reference-counted array of script data nodes.
Definition dataarray.h:20
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
MultiEndGameScreen(DataArray *pData)
Construct the screen from its script description.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition netendgamescreen.h:45
~NetEndGameScreen() override=default
Destroy the object.
NetEndGameScreen(DataArray *pData)
Construct the screen from its script description, with no time running.
bool HandleSelect(UIComponentSelectMsg *pMsg)
End the game when the cross button chooses a button.
void Poll(float fTime) override
Advance the screen, and end the game once the time has run out.
bool DispatchPriv(Message *pMsg) override
Route a chosen button and the end of the entry, and pass on every other message.
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Start the time once a screen has entered.
Message a component sends when the player chooses it.
Definition uicomponentselectmsg.h:28
UIScreen(DataArray *pData)
Construct a screen from its script description.
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23