/* # ______ ____ ___ # | \/ ____| |___| # | | | \ | | #----------------------------------------------------------------------- # Copyright 2020, tyra - https://github.com/h4570/tyra # Licenced under Apache License 2.0 # Sandro Sobczyński */ #ifndef _UI_ #define _UI_ #include #include #include "objects/player.hpp" #include class Ui { public: Ui(TextureRepository *t_texRepo); ~Ui(); void update(const Player &player); void render(Renderer *t_renderer); private: u8 isTask1Done, isTask2Done; Sprite task1, task2, task1Checkbox, task2Checkbox, info, reward; Texture *grayCheckboxTex, *blueCheckboxTex; }; #endif