Compare commits
1 Commits
473ff0840d
...
37958449a2
| Author | SHA256 | Date | |
|---|---|---|---|
| 37958449a2 |
@@ -22,6 +22,11 @@ void TSE::IWindow::BaseUpdate() const
|
|||||||
Time::Update();
|
Time::Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TSE::Vector2 TSE::IWindow::GetSize() const
|
||||||
|
{
|
||||||
|
return Vector2({width, height});
|
||||||
|
}
|
||||||
|
|
||||||
TSE::IWindow::~IWindow()
|
TSE::IWindow::~IWindow()
|
||||||
{
|
{
|
||||||
AudioEngine::Destroy();
|
AudioEngine::Destroy();
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include "IRenderTarget.hpp"
|
#include "IRenderTarget.hpp"
|
||||||
#include "Types.hpp"
|
#include "Types.hpp"
|
||||||
|
#include "Vector2.hpp"
|
||||||
|
|
||||||
namespace TSE
|
namespace TSE
|
||||||
{
|
{
|
||||||
@@ -20,6 +21,7 @@ namespace TSE
|
|||||||
|
|
||||||
bool BaseInit() const;
|
bool BaseInit() const;
|
||||||
void BaseUpdate() const;
|
void BaseUpdate() const;
|
||||||
|
Vector2 GetSize() const;
|
||||||
~IWindow();
|
~IWindow();
|
||||||
};
|
};
|
||||||
} // namespace TSE
|
} // namespace TSE
|
||||||
|
|||||||
Reference in New Issue
Block a user