NoJobEngine
2.0.7
Toggle main menu visibility
Loading...
Searching...
No Matches
Project.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <filesystem>
8
#include <string>
9
namespace
NoJob
10
{
11
struct
ProjectConfig
12
{
13
std::string
Name
=
"NoJobProject"
;
14
std::filesystem::path
AssetDirectory
=
"Assets"
;
15
std::filesystem::path
StartScene
=
"Assets/Scenes/CurrentScene.nojobscene"
;
16
};
17
class
Project
18
{
19
public
:
20
static
bool
Save
(
const
ProjectConfig
&,
const
std::filesystem::path&);
21
static
bool
Load
(
ProjectConfig
&,
const
std::filesystem::path&);
22
};
23
}
NoJob::Project
Definition
Project.h:18
NoJob::Project::Save
static bool Save(const ProjectConfig &, const std::filesystem::path &)
Definition
Project.cpp:6
NoJob::Project::Load
static bool Load(ProjectConfig &, const std::filesystem::path &)
Definition
Project.cpp:7
NoJob
Definition
BTActionNode.h:13
NoJob::ProjectConfig
Definition
Project.h:12
NoJob::ProjectConfig::StartScene
std::filesystem::path StartScene
Definition
Project.h:15
NoJob::ProjectConfig::AssetDirectory
std::filesystem::path AssetDirectory
Definition
Project.h:14
NoJob::ProjectConfig::Name
std::string Name
Definition
Project.h:13
Engine
Assets
Project.h
Generated by
1.18.0