Hatch Game Engine Documentation v1.4.0
The documentation for the Hatch Game Engine
Loading...
Searching...
No Matches
Object Class Reference

Entity class related functions. More...

Public Member Functions

boolean Loaded (string className)
 Checks if an object class is loaded.
void SetActivity (string className, integer Activity)
 Sets the active state of an object to determine if/when it runs its GlobalUpdate function.
ACTIVE GetActivity (string className)
 Gets the active state of an object that determines if/when it runs its GlobalUpdate function.

Detailed Description

Entity class related functions.

Member Function Documentation

◆ GetActivity()

ACTIVE Object.GetActivity ( string className)

Gets the active state of an object that determines if/when it runs its GlobalUpdate function.

Parameters
classNameName of the object class.
Returns
Returns the active state of the object if it is loaded, otherwise returns -1.

◆ Loaded()

boolean Object.Loaded ( string className)

Checks if an object class is loaded.

Parameters
classNameName of the object class.
Returns
Returns whether the class is loaded.

◆ SetActivity()

void Object.SetActivity ( string className,
integer Activity )

Sets the active state of an object to determine if/when it runs its GlobalUpdate function.

Parameters
classNameName of the object class.
ActivityThe active state to set the object to.