mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
22 lines
446 B
C++
22 lines
446 B
C++
#ifndef RESOURCE_AMMOUNT_BUTTON_H
|
|
#define RESOURCE_AMMOUNT_BUTTON_H
|
|
|
|
#include "pfButtonBase.h"
|
|
|
|
namespace vb01Gui{
|
|
class Textbox;
|
|
}
|
|
|
|
namespace battleship{
|
|
class ResourceAmmountButton : public PfButtonBase{
|
|
public:
|
|
ResourceAmmountButton(vb01::Vector3, vb01::Vector2, std::string, int, int, std::string);
|
|
void onClick();
|
|
private:
|
|
vb01Gui::Textbox *textbox = nullptr;
|
|
int ammount, minAmmount = 0, maxAmmount = 10000;
|
|
};
|
|
}
|
|
|
|
#endif
|