Class GlobalScript
Represents a script running globally
Implements
Inherited Members
Namespace: Artemis.Core.ScriptingProviders
Assembly: Artemis.Core.dll
Syntax
public abstract class GlobalScript : Script, IDisposable
Constructors
GlobalScript(ScriptConfiguration)
The base constructor of any script
Declaration
protected GlobalScript(ScriptConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ScriptConfiguration | configuration | The script configuration this script belongs to |
Properties
ScriptType
Gets the script type of this script
Declaration
public override ScriptType ScriptType { get; }
Property Value
Type | Description |
---|---|
ScriptType |
Overrides
Methods
OnCoreUpdated(double)
Called whenever the Artemis Core has been updated
Declaration
public virtual void OnCoreUpdated(double deltaTime)
Parameters
Type | Name | Description |
---|---|---|
double | deltaTime | Seconds passed since last update |
OnCoreUpdating(double)
Called whenever the Artemis Core is about to update
Declaration
public virtual void OnCoreUpdating(double deltaTime)
Parameters
Type | Name | Description |
---|---|---|
double | deltaTime | Seconds passed since last update |