wavelength 1.0.0
Loading...
Searching...
No Matches
mainoptionsscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
5#include "script/dataarray.h"
6
15public:
22 ~MainOptionsScreen() override = default;
23
31 explicit MainOptionsScreen(DataArray *pData) : FreqScreen(pData) {
32 }
33
42 static UIScreen *New(DataArray *pData) {
43 return new MainOptionsScreen(pData);
44 }
45
54 bool DispatchPriv(Message *pMsg) override;
55
64 void Exit(UIScreen *pNextScreen, float fTime) override;
65
74 void Enter(UIScreen *pPrevScreen, float fTime) override;
75
85};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Message the controller poll sends when a button is pressed or released.
Definition joypadinputmsg.h:23
bool HandleJoypad(JoypadInputMsg *pMsg)
Go back to the main menu on Triangle, unless the screen is between screens.
MainOptionsScreen(DataArray *pData)
Construct the screen from its script description.
Definition mainoptionsscreen.h:31
void Exit(UIScreen *pNextScreen, float fTime) override
Exit, and move the projector aside when the credits are next.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition mainoptionsscreen.h:42
bool DispatchPriv(Message *pMsg) override
Route a controller button, and pass on every other message.
void Enter(UIScreen *pPrevScreen, float fTime) override
Enter, and move the projector back from the credits.
~MainOptionsScreen() override=default
Destroy the object.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
UIScreen(DataArray *pData)
Construct a screen from its script description.