mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
16 lines
499 B
C++
Executable File
16 lines
499 B
C++
Executable File
#include "optionsButton.h"
|
|
#include "gameManager.h"
|
|
#include "concreteGuiManager.h"
|
|
|
|
using namespace vb01Gui;
|
|
using namespace vb01;
|
|
using namespace std;
|
|
|
|
namespace battleship{
|
|
OptionsButton::OptionsButton(Vector3 pos, Vector2 size, string name, bool separate) : Button(pos, size, name, GameManager::getSingleton()->getPath() + "Fonts/batang.ttf", -1, separate) {}
|
|
|
|
void OptionsButton::onClick() {
|
|
ConcreteGuiManager::getSingleton()->readLuaScreenScript("options.lua");
|
|
}
|
|
}
|