mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 00:18:42 +00:00
30 lines
496 B
C++
30 lines
496 B
C++
#pragma once
|
|
#include "../Screen.h"
|
|
class Random;
|
|
class Button;
|
|
|
|
class TitleScreen : public Screen {
|
|
private:
|
|
static Random* random;
|
|
|
|
float vo;
|
|
|
|
std::wstring splash;
|
|
Button* multiplayerButton;
|
|
|
|
public:
|
|
TitleScreen();
|
|
virtual void tick();
|
|
|
|
protected:
|
|
virtual void keyPressed(wchar_t eventCharacter, int eventKey);
|
|
|
|
public:
|
|
virtual void init();
|
|
|
|
protected:
|
|
virtual void buttonClicked(Button* button);
|
|
|
|
public:
|
|
virtual void render(int xm, int ym, float a);
|
|
}; |