wavelength 1.0.0
Loading...
Searching...
No Matches
unlockscreen.h
Go to the documentation of this file.
1#pragma once
2
5#include "script/dataarray.h"
6
15public:
22 ~UnlockScreen() override = default;
23
31 explicit UnlockScreen(DataArray *pData);
32
43 static UIScreen *New(DataArray *pData) {
44 return new UnlockScreen(pData);
45 }
46
55 bool DispatchPriv(Message *pMsg) override;
56
68};
Reference-counted array of script data nodes.
Definition dataarray.h:20
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.
UnlockScreen(DataArray *pData)
Construct the screen from its script description.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition unlockscreen.h:43
~UnlockScreen() override=default
Destroy the object.
bool HandleJoypad(JoypadInputMsg *pMsg)
Show the next queued unlock when the cross button goes down.
bool DispatchPriv(Message *pMsg) override
Route a controller button to HandleJoypad(), and pass on every other message.
XProceedScreen(DataArray *pData)
Construct the screen from its script description.
Definition xproceedscreen.h:30