Some checks are pending
Linux arm64 / Build (push) Waiting to run
L'écran de fin est mis à jour correctement selon si la victoire nous appartient ou non. Le cas d'égalité n'est cependant pas traité ! Seulement un joueur peut gagner à l'état actuel Reviewed-on: #29 Co-authored-by: Persson-dev <sim16.prib@gmail.com> Co-committed-by: Persson-dev <sim16.prib@gmail.com>
22 lines
401 B
C++
22 lines
401 B
C++
#pragma once
|
|
|
|
#include "GuiWidget.h"
|
|
#include "client/Client.h"
|
|
|
|
namespace blitz {
|
|
|
|
namespace gui {
|
|
class LeaderBoardGui : public GuiWidget {
|
|
private:
|
|
void Draw(const char* title, bool* p_open);
|
|
utils::DelayTimer<float> m_Timer{5.0f};
|
|
|
|
public:
|
|
LeaderBoardGui(GuiWidget* parent, Client* client);
|
|
~LeaderBoardGui();
|
|
|
|
virtual void Render() override;
|
|
};
|
|
|
|
} // namespace gui
|
|
} // namespace blitz
|