first commit
This commit is contained in:
28
Minecraft.Client/TitleScreen.h
Normal file
28
Minecraft.Client/TitleScreen.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user