NVM Fixed.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <Client/Scene.hpp>
|
||||
#include <JGL/types/Texture.h>
|
||||
#include <JGL/types/Font.h>
|
||||
|
||||
namespace CaveGame::Client
|
||||
{
|
||||
@@ -24,7 +25,7 @@ namespace CaveGame::Client
|
||||
float splash_timer = 5.f;
|
||||
float load_percent = 0.f;
|
||||
JGL::Texture splash;
|
||||
JGL::Font* font = nullptr;
|
||||
JGL::Font font;
|
||||
Vector2 window_size;
|
||||
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
CaveGame::Client::Splash::Splash() : Scene()
|
||||
{
|
||||
font = new JGL::Font();
|
||||
font = JGL::Font();
|
||||
}
|
||||
|
||||
void CaveGame::Client::Splash::Draw()
|
||||
@@ -69,7 +69,7 @@ void CaveGame::Client::Splash::Unload() {
|
||||
Scene::Unload();
|
||||
}
|
||||
|
||||
void CaveGame::Client::Splash::PassFont(JGL::Font* passed) {
|
||||
void CaveGame::Client::Splash::PassFont(JGL::Font passed) {
|
||||
font = passed;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user