26 lines
439 B
C++
26 lines
439 B
C++
#include "IWindow.hpp"
|
|
#include "Debug.hpp"
|
|
#include "LuaStateHandler.hpp"
|
|
#include "Time.hpp"
|
|
#include "version.h"
|
|
|
|
TSE::IWindow* TSE::IWindow::lastWindow = nullptr;
|
|
|
|
bool TSE::IWindow::BaseInit() const
|
|
{
|
|
LuaStateHandler::InitLuaState();
|
|
Debug::Init();
|
|
Debug::Log("TSE:" + TSE_VERSION_STRING);
|
|
return true;
|
|
}
|
|
|
|
void TSE::IWindow::BaseUpdate() const
|
|
{
|
|
Time::Update();
|
|
}
|
|
|
|
TSE::IWindow::~IWindow()
|
|
{
|
|
Debug::Close();
|
|
}
|