mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
20 lines
367 B
C++
20 lines
367 B
C++
#ifndef STATE_TOGGLE_BUTTON_H
|
|
#define STATE_TOGGLE_BUTTON_H
|
|
|
|
#include <button.h>
|
|
|
|
namespace battleship{
|
|
class StateToggleButton : public vb01Gui::Button{
|
|
public:
|
|
StateToggleButton(vb01::Vector3, vb01::Vector2, std::string, int, std::string);
|
|
void onClick();
|
|
private:
|
|
void updateStateId();
|
|
void toggleImage();
|
|
|
|
int currStateId, x;
|
|
};
|
|
}
|
|
|
|
#endif
|