mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
29 lines
728 B
C++
29 lines
728 B
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include "../Screen.hpp"
|
|
|
|
class DeathScreen : public Screen
|
|
{
|
|
public:
|
|
DeathScreen();
|
|
|
|
virtual void onInit() override;
|
|
virtual void buttonClicked(Button* pButton) override;
|
|
virtual void onTick() override;
|
|
virtual void keyPressed(int key) override;
|
|
virtual void onRender(int x, int y, float f) override;
|
|
|
|
private:
|
|
int m_tickCounter;
|
|
Button m_btnRespawn;
|
|
Button m_btnTitle;
|
|
};
|