feat: Remove copy contructore / assginment in PhanesProject
This commit is contained in:
parent
27c6b7bb98
commit
a9b2d7e6fc
@ -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:
|
private:
|
||||||
|
std::string projectName;
|
||||||
|
|
||||||
std::string projectName;
|
public:
|
||||||
|
PhanesProject(std::string _ProjectName);
|
||||||
|
|
||||||
public:
|
virtual ~PhanesProject();
|
||||||
|
|
||||||
PhanesProject(std::string _ProjectName);
|
/**
|
||||||
virtual ~PhanesProject();
|
* PhanesEngine main loop.
|
||||||
|
*/
|
||||||
|
void Run();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PhanesEngine main loop.
|
* 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();
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user