Files
PlanetFleet/exitButton.cpp
T

16 lines
364 B
C++
Executable File

#include "exitButton.h"
#include "defConfigs.h"
#include <root.h>
using namespace std;
using namespace vb01;
namespace battleship{
ExitButton::ExitButton(Vector2 pos, Vector2 size) : Button(pos, size, "Exit", GameManager::getSingleton()->getPath() + "Fonts/batang.ttf", -1, true) {}
void ExitButton::onClick() {
//Root::getSingleton()->set
}
}