Compare commits

..

1 Commits

2 changed files with 7 additions and 0 deletions

View File

@@ -22,6 +22,11 @@ void TSE::IWindow::BaseUpdate() const
Time::Update();
}
TSE::Vector2 TSE::IWindow::GetSize() const
{
return Vector2({width, height});
}
TSE::IWindow::~IWindow()
{
AudioEngine::Destroy();

View File

@@ -2,6 +2,7 @@
#include "IRenderTarget.hpp"
#include "Types.hpp"
#include "Vector2.hpp"
namespace TSE
{
@@ -20,6 +21,7 @@ namespace TSE
bool BaseInit() const;
void BaseUpdate() const;
Vector2 GetSize() const;
~IWindow();
};
} // namespace TSE