|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Base interface for dynamically compiled C# scripts. Scripts implementing this interface can be instantiated and managed by the engine. Matches the C++ IScript interface (inherits from IUpdateable). More...
#include <IScript.hpp>


Public Member Functions | |
| void | Start () |
| Called when this script is added to the ScriptEngine. | |
| void | End () |
| Called when this script is removed from the ScriptEngine. | |
| virtual void | Start ()=0 |
| Called when this is added into the ScriptEngine. | |
| virtual void | End ()=0 |
| Called when this is removed from the ScriptEngine. | |
| ~IScript ()=default | |
| Public Member Functions inherited from Engine3DRadSpace.IUpdateable | |
| void | Update () |
| virtual void | Update ()=0 |
| Update function. | |
| virtual | ~IUpdateable ()=default |
Protected Member Functions | |
| IScript ()=default | |
| IScript (const IScript &)=delete | |
| IScript (IScript &&)=default | |
| IScript & | operator= (const IScript &)=delete |
| IScript & | operator= (IScript &&)=default |
| Protected Member Functions inherited from Engine3DRadSpace.IUpdateable | |
| IUpdateable ()=default | |
| IUpdateable (const IUpdateable &) noexcept=default | |
| IUpdateable & | operator= (const IUpdateable &) noexcept=default |
| IUpdateable (IUpdateable &&) noexcept=default | |
| IUpdateable & | operator= (IUpdateable &&) noexcept=default |
Protected Attributes | |
| Objects::IObject * | object = nullptr |
| The object that manages this IScript instance. | |
Properties | |
| IObject? | Object [get] |
| Gets the object that this script is attached to. Provides access to delta time, graphics device, and other engine resources. | |
Base interface for dynamically compiled C# scripts. Scripts implementing this interface can be instantiated and managed by the engine. Matches the C++ IScript interface (inherits from IUpdateable).
|
protecteddefault |
|
protecteddelete |
|
protecteddefault |
|
default |
| void Engine3DRadSpace.Scripting.IScript.End | ( | ) |
Called when this script is removed from the ScriptEngine.
|
pure virtual |
Called when this is removed from the ScriptEngine.
Implemented in EmptyScript, Engine3DRadSpace.Scripting.Script, and MyClass.
| void Engine3DRadSpace.Scripting.IScript.Start | ( | ) |
Called when this script is added to the ScriptEngine.
|
pure virtual |
Called when this is added into the ScriptEngine.
Implemented in _3DRadSpace_CSharp_Sample.CpuPlatform, _3DRadSpace_CSharp_Sample.PlayerPlatform, _3DRadSpace_CSharp_Sample.PongBall, EmptyScript, Engine3DRadSpace.Scripting.Script, MyClass, MyClass, Pong.CpuPlatform, Pong.PlayerPlatform, and Pong.PongBall.
|
protected |
The object that manages this IScript instance.
|
get |
Gets the object that this script is attached to. Provides access to delta time, graphics device, and other engine resources.