mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 16:10:14 +00:00
23 lines
401 B
C++
23 lines
401 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "game/game_handler.hpp"
|
||
|
|
#include <imgui.h>
|
||
|
|
|
||
|
|
namespace wowee {
|
||
|
|
namespace ui {
|
||
|
|
|
||
|
|
class TalentScreen {
|
||
|
|
public:
|
||
|
|
void render(game::GameHandler& gameHandler);
|
||
|
|
bool isOpen() const { return open; }
|
||
|
|
void toggle() { open = !open; }
|
||
|
|
void setOpen(bool o) { open = o; }
|
||
|
|
|
||
|
|
private:
|
||
|
|
bool open = false;
|
||
|
|
bool nKeyWasDown = false;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace ui
|
||
|
|
} // namespace wowee
|