wavelength 1.0.0
Loading...
Searching...
No Matches
xproceedscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
5#include "script/dataarray.h"
6
13class XProceedScreen : public FreqScreen {
14public:
21 ~XProceedScreen() override = default;
22
30 explicit XProceedScreen(DataArray *pData) : FreqScreen(pData) {
31 }
32
43 static UIScreen *New(DataArray *pData) {
44 return new XProceedScreen(pData);
45 }
46
55 bool DispatchPriv(Message *pMsg) override;
56
66};
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
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.
bool DispatchPriv(Message *pMsg) override
Route a controller button to HandleJoypad(), and pass on every other message.
bool HandleJoypad(JoypadInputMsg *pMsg)
Leave the screen when the cross button goes down.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition xproceedscreen.h:43
~XProceedScreen() override=default
Destroy the object.
XProceedScreen(DataArray *pData)
Construct the screen from its script description.
Definition xproceedscreen.h:30