mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 13:03:37 +00:00
28 lines
575 B
C++
28 lines
575 B
C++
#pragma once
|
|
#include "minecraft/client/gui/Screen.h"
|
|
class ClientConnection;
|
|
|
|
class ReceivingLevelScreen : public Screen {
|
|
private:
|
|
ClientConnection* connection;
|
|
int tickCount;
|
|
|
|
public:
|
|
ReceivingLevelScreen(ClientConnection* connection);
|
|
|
|
protected:
|
|
using Screen::keyPressed;
|
|
|
|
virtual void keyPressed(char eventCharacter, int eventKey);
|
|
|
|
public:
|
|
virtual void init() override;
|
|
virtual void tick() override;
|
|
|
|
protected:
|
|
virtual void buttonClicked(Button* button) override;
|
|
|
|
public:
|
|
virtual void render(int xm, int ym, float a) override;
|
|
};
|