Conver to using \ for member variables in classes. In structs just use the name.
This commit is contained in:
parent
187edb898e
commit
5cf66aad02
8 changed files with 143 additions and 144 deletions
32
gui.hpp
32
gui.hpp
|
@ -24,22 +24,22 @@ enum class Value {
|
|||
|
||||
class GUI {
|
||||
sf::Color color(Value val);
|
||||
Map game_map_;
|
||||
sf::SoundBuffer hit_buf_;
|
||||
sf::Sound hit_sound_;
|
||||
bool show_paths_ = false;
|
||||
string status_text_ = "NOT DEAD";
|
||||
Entity player_;
|
||||
Entity enemy_;
|
||||
Point goal_;
|
||||
Component document_;
|
||||
Component map_view_;
|
||||
Canvas canvas_;
|
||||
sf::Font font_;
|
||||
sf::Text text_;
|
||||
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter_;
|
||||
sf::RenderWindow window_;
|
||||
Screen screen_;
|
||||
Map $game_map;
|
||||
sf::SoundBuffer $hit_buf;
|
||||
sf::Sound $hit_sound;
|
||||
bool $show_paths = false;
|
||||
string $status_text = "NOT DEAD";
|
||||
Entity $player;
|
||||
Entity $enemy;
|
||||
Point $goal;
|
||||
Component $document;
|
||||
Component $map_view;
|
||||
Canvas $canvas;
|
||||
sf::Font $font;
|
||||
sf::Text $text;
|
||||
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> $converter;
|
||||
sf::RenderWindow $window;
|
||||
Screen $screen;
|
||||
|
||||
public:
|
||||
GUI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue