You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GUI.cpp 230B

12345678910111213141516171819202122
  1. #include "GUI.hpp"
  2. void GUI:: Start()
  3. {
  4. po = 0;
  5. }
  6. void GUI:: Update()
  7. {
  8. PrintMini(5,5,"PO :",0);
  9. PrintV(25,5,po);
  10. }
  11. void GUI::AddOr(int v)
  12. {
  13. if(v > 0)po += v;
  14. }
  15. void GUI::DelOr(int v)
  16. {
  17. if(v > 0)po -= v;
  18. }