Files

19 lines
364 B
C++

#ifndef TRADE_BUTTON_H
#define TRADE_BUTTON_H
#include "unitButton.h"
namespace battleship{
class TradeButton : public UnitButton{
public:
enum class Type{BUY_REFINEDS, SELL_REFINEDS, BUY_RESEARCH, SELL_RESEARCH};
TradeButton(vb01::Vector3, vb01::Vector2, std::string, int, std::string, Type);
void onClick();
private:
Type type;
};
}
#endif