current maps can be loaded in the map editor

This commit is contained in:
devZoGok
2023-01-07 15:27:43 +02:00
parent 482549c852
commit f91592712f
6 changed files with 158 additions and 81 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef MAP_EDITOR_BUTTON_H
#define MAP_EDITOR_BUTTON_H
#include <button.h>
#include "gameManager.h"
namespace battleship{
class MapEditorButton : public vb01Gui::Button{
public:
MapEditorButton(vb01::Vector2 pos, vb01::Vector2 size) : vb01Gui::Button(pos, size, "Map editor", GameManager::getSingleton()->getPath() + "Fonts/batang.ttf"){}
void onClick();
private:
};
}
#endif