variable number of CPU player listboxes in map selection screens

This commit is contained in:
devZoGok
2025-03-02 16:16:55 +02:00
parent a1011e14f0
commit ae3e9b8b73
10 changed files with 76 additions and 90 deletions
+8 -1
View File
@@ -3,12 +3,19 @@
#include <listbox.h>
namespace vb01Gui{
class Listbox;
}
namespace battleship{
class MapListbox : public vb01Gui::Listbox{
public:
MapListbox(vb01::Vector2, vb01::Vector2, std::vector<std::string>&, int, std::string, bool);
MapListbox(vb01::Vector3, vb01::Vector2, std::vector<std::string>&, int, bool, std::string, bool);
private:
void onClose();
bool addPlayerGui;
std::vector<vb01Gui::Listbox*> cpuPlayerListboxes;
};
}