mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
23 lines
512 B
C++
23 lines
512 B
C++
#ifndef PLAY_BUTTON_H
|
|
#define PLAY_BUTTON_H
|
|
|
|
#include <button.h>
|
|
|
|
namespace vb01Gui{
|
|
class Listbox;
|
|
}
|
|
|
|
namespace battleship{
|
|
class PlayButton : public vb01Gui::Button {
|
|
public:
|
|
PlayButton(std::vector<vb01Gui::Listbox*>, std::vector<vb01Gui::Listbox*>, vb01Gui::Listbox*, vb01::Vector2, vb01::Vector2, std::string, bool);
|
|
void onClick();
|
|
private:
|
|
std::vector<vb01Gui::Listbox*> difficultiesListboxes, factionsListboxes;
|
|
vb01Gui::Listbox *mapListbox = nullptr;
|
|
int lengths[2];
|
|
};
|
|
}
|
|
|
|
#endif
|