CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MonoScriptingSystem.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
11
14
17
18namespace CeresEngine {
19
20 class MonoEnvironment;
21
23 private:
26
27 public:
31 explicit MonoScriptingSystem(const FilePath& runtimeDirectory, const FilePath& applicationAssembly);
32
35
38
39 public:
42 void update(double time) final;
43
44 public:
49 void attached(EntityManager& entityManager, SystemManager& systemManager) override;
50 };
51
52} // namespace CeresEngine
#define CE_SCRIPT_EXPORT(...)
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environme...
Definition Macros.hpp:247
Definition EntityManager.hpp:49
Path to file or directory.
Definition FilePath.hpp:37
Definition MonoScriptingSystem.hpp:22
UPtr< MonoEnvironment > environment
The Mono environment for the system.
Definition MonoScriptingSystem.hpp:25
MonoScriptingSystem(const FilePath &runtimeDirectory, const FilePath &applicationAssembly)
Creates a new MonoScriptingSystem instance.
MonoScriptingSystem(const MonoScriptingSystem &)=delete
~MonoScriptingSystem() final
Destroys the ScriptingSystem instance.
MonoScriptingSystem & operator=(const MonoScriptingSystem &)=delete
Definition ScriptingSystem.hpp:18
The system manager is responsible for keeping track and dispatching updates to all attached systems.
Definition SystemManager.hpp:22
Definition Application.hpp:19
std::unique_ptr< T, Deleter > UPtr
UPtr is a smart pointer that owns and manages another object through a pointer and disposes of that o...
Definition SmartPtr.hpp:28
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25