GoldQuest/GUI.cpp

23 lines
230 B
C++

#include "GUI.hpp"
void GUI:: Start()
{
po = 0;
}
void GUI:: Update()
{
PrintMini(5,5,"PO :",0);
PrintV(25,5,po);
}
void GUI::AddOr(int v)
{
if(v > 0)po += v;
}
void GUI::DelOr(int v)
{
if(v > 0)po -= v;
}