#include <editor_script.hpp>
◆ EditorScript() [1/3]
mage::script::EditorScript::EditorScript |
( |
| ) |
|
|
defaultnoexcept |
◆ EditorScript() [2/3]
mage::script::EditorScript::EditorScript |
( |
const EditorScript & |
script | ) |
|
|
defaultnoexcept |
◆ EditorScript() [3/3]
mage::script::EditorScript::EditorScript |
( |
EditorScript && |
script | ) |
|
|
defaultnoexcept |
◆ ~EditorScript()
mage::script::EditorScript::~EditorScript |
( |
| ) |
|
|
virtualdefault |
◆ Load()
void mage::script::EditorScript::Load |
( |
[[maybe_unused] ] Engine & |
engine | ) |
|
|
overridevirtual |
Loads this behavior script. Allows this behavior script to preform any pre-processing.
- Parameters
-
[in,out] | engine | A reference to the engine. |
- Exceptions
-
Exception | Failed to load this behavior script. |
Reimplemented from mage::BehaviorScript.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Update()
void mage::script::EditorScript::Update |
( |
[[maybe_unused] ] Engine & |
engine | ) |
|
|
overridevirtual |
Updates this behavior script.
This method is called once per frame.
- Parameters
-
[in,out] | engine | A reference to the engine. |
- Exceptions
-
Exception | Failed to update this behavior script. |
Reimplemented from mage::BehaviorScript.
◆ m_selected