nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
gui.h
Go to the documentation of this file.
1#ifndef NANOMMO_CLIENT_GUI_H_
2#define NANOMMO_CLIENT_GUI_H_
3
4namespace nanommo {
5
6class Gui {
7 public:
8 Gui();
9 ~Gui();
10
11 Gui(const Gui&) = delete;
12 Gui& operator=(const Gui&) = delete;
13
14 /// Starts the frame's interface, at the scale for the screen's height times
15 /// the player's own.
16 void Begin(float player_scale = 1.0f);
17
18 void End();
19
20 private:
21 float applied_ = 0.0f;
22};
23
24} // namespace nanommo
25
26#endif // NANOMMO_CLIENT_GUI_H_
void End()
Definition gui.cc:36
void Begin(float player_scale=1.0f)
Definition gui.cc:24
Gui(const Gui &)=delete
Gui & operator=(const Gui &)=delete
Definition chat.cc:9