mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
current maps can be loaded in the map editor
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user