wavelength 1.0.0
Loading...
Searching...
No Matches
soloendgamescreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "script/dataarray.h"
7
19public:
26 ~SoloEndGameScreen() override = default;
27
35 explicit SoloEndGameScreen(DataArray *pData);
36
45 static UIScreen *New(DataArray *pData) {
46 return new SoloEndGameScreen(pData);
47 }
48
57 bool DispatchPriv(Message *pMsg) override;
58
66 void Poll(float fTime) override;
67
80 void Enter(UIScreen *pPrevScreen, float fTime) override;
81
89 const char *Title() override;
90
100
110
111private:
112 const char *mStatsPanel;
113 const char *mAvatarPanel;
114};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
~SoloEndGameScreen() override=default
Destroy the object.
bool DispatchPriv(Message *pMsg) override
Route a chosen button and the end of a transition, and pass on every other message.
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Start the animation of the won statistics.
const char * Title() override
Report no title.
void Enter(UIScreen *pPrevScreen, float fTime) override
Record the campaign, choose the focused button, fill the statistics, and start the dance of the Freq.
bool HandleSelect(UIComponentSelectMsg *pMsg)
Record the choice of the cross button for the metagame and show the next screen.
void Poll(float fTime) override
Show the winner movie at the position of the song, and advance the avatar players.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition soloendgamescreen.h:45
SoloEndGameScreen(DataArray *pData)
Construct the screen from its script description.
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