Skip to content

Blueprint Objects

Mtax edited this page Mar 27, 2025 · 1 revision

Description

Blueprint Objects are Object Assets with code operating Event Methods from their respective Instantiable Constructors when their Events execute. During execution of repeated Events, respective Event Methods are submitted into the Event Queue. In case of instant Events, they are executed immediately in the scope of their Instantiable Constructor. Each Blueprint Object either is or inherits the Object parent with its code, which operates instantiation and basic Step, Draw and Clean Up Events.

Implementing additional Blueprint Objects

1. Create a new Object Asset and name it using the same name pattern as Instantiable Constructor that will use it.
2. Set Object as the parent of this newly created Object Asset.
3. Implement the Instantiable Constructor.
4. Add new Events or override existing ones to customize them, according to the code of its Instantiable Constructor constructor:
EventQueue.priorityQueueName.add(base.priority, [base, base.eventMethodName]);
with (base)
{
	eventMethodName();
}

Clone this wiki locally