wavelength 1.0.0
Loading...
Searching...
No Matches
marketingscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/introscreen.h"
5#include "script/dataarray.h"
6
14public:
21 ~MarketingScreen() override = default;
22
30 explicit MarketingScreen(DataArray *pData) : IntroScreen(pData) {
31 }
32
43 static UIScreen *New(DataArray *pData) {
44 return new MarketingScreen(pData);
45 }
46
55 bool DispatchPriv(Message *pMsg) override;
56
66};
Reference-counted array of script data nodes.
Definition dataarray.h:20
IntroScreen(DataArray *pData)
Construct the screen from its script description.
Message the controller poll sends when a button is pressed or released.
Definition joypadinputmsg.h:23
bool DispatchPriv(Message *pMsg) override
Route a controller button, and pass every other message to IntroScreen.
~MarketingScreen() override=default
Destroy the object.
bool HandleJoypad(JoypadInputMsg *pMsg)
End a running hold at the next poll when the cross button goes down.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition marketingscreen.h:43
MarketingScreen(DataArray *pData)
Construct the screen from its script description.
Definition marketingscreen.h:30
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.