28 lines
487 B
C++
28 lines
487 B
C++
#pragma once
|
|
#include "Screen.h"
|
|
class Random;
|
|
class Button;
|
|
using namespace std;
|
|
|
|
class TitleScreen : public Screen
|
|
{
|
|
private:
|
|
static Random *random;
|
|
|
|
float vo;
|
|
|
|
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);
|
|
}; |