|
Finality Engine
|
Owns project identity, paths and saved configuration. More...
#include <Project.h>
Public Member Functions | |
| bool | Create (const std::filesystem::path &location, const std::string &name, const std::filesystem::path &templateAssets={}, bool starterTemplate=true) |
| bool | Open (const std::filesystem::path &path) |
| bool | Save () const |
| bool | SaveSettings () const |
| bool | LoadSettings () |
| void | SetName (const std::string &name) |
| bool | IsOpen () const |
| const std::filesystem::path & | GetPath () const |
| std::filesystem::path | GetDirectory () const |
| std::filesystem::path | GetAssetsDirectory () const |
| const std::string & | GetName () const |
Public Attributes | |
| std::string | StartupScene = "Assets/Scenes/Main.fscene" |
| ProjectSettings | Settings |
Owns project identity, paths and saved configuration.
A project descriptor connects the project name, project directory, startup scene and settings used by editor workflows. Generated IDE files belong to the project root while transient native build files remain in .Finality.
| bool FINALITY::Project::Create | ( | const std::filesystem::path & | location, |
| const std::string & | name, | ||
| const std::filesystem::path & | templateAssets = {}, | ||
| bool | starterTemplate = true ) |
| bool FINALITY::Project::Open | ( | const std::filesystem::path & | path | ) |
| bool FINALITY::Project::Save | ( | ) | const |
| bool FINALITY::Project::SaveSettings | ( | ) | const |
| bool FINALITY::Project::LoadSettings | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string FINALITY::Project::StartupScene = "Assets/Scenes/Main.fscene" |
| ProjectSettings FINALITY::Project::Settings |