GoldQuest/GUI.cpp

23 lines
230 B
C++
Raw Permalink Normal View History

2016-06-11 15:54:44 +02:00
#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;
}