CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MonoScriptingSystem Class Referencefinal

#include <CeresEngine/Scripting/Mono/MonoScriptingSystem.hpp>

Inheritance diagram for CeresEngine::MonoScriptingSystem:
CeresEngine::ScriptingSystem CeresEngine::System< ScriptingSystem, EntityObjectSet< ScriptedObject > >

Public Member Functions

 MonoScriptingSystem (const FilePath &runtimeDirectory, const FilePath &applicationAssembly)
 Creates a new MonoScriptingSystem instance.
 
 MonoScriptingSystem (const MonoScriptingSystem &)=delete
 
MonoScriptingSystemoperator= (const MonoScriptingSystem &)=delete
 
 ~MonoScriptingSystem () final
 Destroys the ScriptingSystem instance.
 
void update (double time) final
 Updates the system.
 
void attached (EntityManager &entityManager, SystemManager &systemManager) override
 A method called by the system manager once the system has been attached to the manager.
 
- Public Member Functions inherited from CeresEngine::ScriptingSystem
 ScriptingSystem ()
 Creates a new ScriptingSystem instance.
 
 ~ScriptingSystem () override
 Destroys the ScriptingSystem instance.
 
void update (double time) override
 

Private Attributes

UPtr< MonoEnvironmentenvironment
 The Mono environment for the system.
 

Constructor & Destructor Documentation

◆ MonoScriptingSystem() [1/2]

CeresEngine::MonoScriptingSystem::MonoScriptingSystem ( const FilePath runtimeDirectory,
const FilePath applicationAssembly 
)
explicit

Creates a new MonoScriptingSystem instance.

Parameters
runtimeDirectoryThe mono runtime directory
applicationAssemblyThe mono application assembly path

◆ MonoScriptingSystem() [2/2]

CeresEngine::MonoScriptingSystem::MonoScriptingSystem ( const MonoScriptingSystem )
delete

◆ ~MonoScriptingSystem()

CeresEngine::MonoScriptingSystem::~MonoScriptingSystem ( )
final

Destroys the ScriptingSystem instance.

Member Function Documentation

◆ attached()

void CeresEngine::MonoScriptingSystem::attached ( EntityManager entityManager,
SystemManager systemManager 
)
override

A method called by the system manager once the system has been attached to the manager.

Parameters
entityManagerThe entity manager the system is attaching
systemManagerThe system manager the system is attaching

◆ operator=()

MonoScriptingSystem & CeresEngine::MonoScriptingSystem::operator= ( const MonoScriptingSystem )
delete

◆ update()

void CeresEngine::MonoScriptingSystem::update ( double  time)
final

Updates the system.

Parameters
timeThe amount of time elapsed since the last update

Member Data Documentation

◆ environment

UPtr<MonoEnvironment> CeresEngine::MonoScriptingSystem::environment
private

The Mono environment for the system.


The documentation for this class was generated from the following file: