feat: Remove copy contructore / assginment in PhanesProject

This commit is contained in:
Thorben Höhne 2025-05-01 19:48:13 +02:00
parent 27c6b7bb98
commit a9b2d7e6fc
Signed by: thoehne
GPG Key ID: 60D202D915B81DEC

View File

@ -1,41 +1,40 @@
#pragma once #pragma once
#include "StartingPointPCH.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "StartingPointPCH.h"
// Entrypoint class for any Phanes game. // Entrypoint class for any Phanes game.
namespace Phanes::Core::Application namespace Phanes::Core::Application
{ {
class PhanesProject class PhanesProject
{ {
private:
std::string projectName; private:
std::string projectName;
public: public:
PhanesProject(std::string _ProjectName);
PhanesProject(std::string _ProjectName); virtual ~PhanesProject();
virtual ~PhanesProject();
/** /**
* PhanesEngine main loop. * PhanesEngine main loop.
*/
void Run();
/**
* Getter for project name;
*/
std::string GetName();
PhanesProject(const PhanesProject&) = delete;
PhanesProject& operator=(const PhanesProject&) = delete;
};
/**
* Function to be overwriten by client.
*/ */
void Run(); PhanesProject* CreatePhanesGame();
} // namespace Phanes::Core::Application
/**
* Getter for project name;
*/
std::string GetName();
};
/**
* Function to be overwriten by client.
*/
PhanesProject* CreatePhanesGame();
}