mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
variable number of CPU player listboxes in map selection screens
This commit is contained in:
+8
-1
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user