mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
17 lines
394 B
C++
Executable File
17 lines
394 B
C++
Executable File
#include "exitButton.h"
|
|
|
|
using namespace irr::core;
|
|
using namespace game::core;
|
|
|
|
namespace game
|
|
{
|
|
namespace gui{
|
|
ExitButton::ExitButton(GameManager *gM, vector2d<s32> pos, vector2d<s32> size, stringw name, bool separate) : Button(gM, pos, size, name, separate) {
|
|
}
|
|
|
|
void ExitButton::onClick() {
|
|
gameManager->getDevice()->closeDevice();
|
|
}
|
|
}
|
|
}
|