#include <iScriptComponent.h>
Inherits igor::iEntityComponent.
◆ iScriptComponent()
| igor::iScriptComponent::iScriptComponent |
( |
| ) |
|
◆ addScript() [1/2]
| void igor::iScriptComponent::addScript |
( |
const iScriptDelegate & |
delegate | ) |
|
adds script from code
- Parameters
-
◆ addScript() [2/2]
| void igor::iScriptComponent::addScript |
( |
const iScriptPtr |
script | ) |
|
adds script from script
- Parameters
-
| script | the script script to add |
| name | the name of the script |
◆ createInstance()
creates instance of this component type
◆ execute()
| void igor::iScriptComponent::execute |
( |
| ) |
|
◆ getInfo()
| std::vector< iaString > igor::iScriptComponent::getInfo |
( |
| ) |
const |
|
overridevirtual |
◆ getScripts()
| const std::vector< iScriptData > & igor::iScriptComponent::getScripts |
( |
| ) |
const |
◆ getTypeName()
| const iaString & igor::iScriptComponent::getTypeName |
( |
| ) |
|
|
static |
- Returns
- type name of component
◆ removeScript()
| void igor::iScriptComponent::removeScript |
( |
const iScriptDelegate & |
delegate | ) |
|
removes script from entity
- Parameters
-
| script | the script to be removed |
The documentation for this class was generated from the following files: