fixed runtimes

master
Theunis J. Botha 2021-09-13 10:14:09 +02:00
parent 0ded927e5b
commit cdcad35256
23 changed files with 1260 additions and 532 deletions

624
dist/r3.js vendored
View File

@ -1,6 +1,6 @@
class R3 {
static version = '2.0.654';
static compileDate = '2021 Sep 13 - 09:56:59 am';
static version = '2.0.655';
static compileDate = '2021 Sep 13 - 10:04:31 am';
}
/**
@ -37,16 +37,15 @@ Runtime.RUNTIME_CODER = 0x1;
Runtime.RUNTIME_CODE_MIRROR = 0x2;
Runtime.RUNTIME_DOM = 0x3;
Runtime.RUNTIME_DOCUMENT = 0x4;
Runtime.RUNTIME_DEFAULT = 0x5;
Runtime.RUNTIME_GUI = 0x6;
Runtime.RUNTIME_CONTROL_KIT = 0x7;
Runtime.RUNTIME_GRAPHICS = 0x8;
Runtime.RUNTIME_THREE = 0x9;
Runtime.RUNTIME_PHYSICS = 0xa;
Runtime.RUNTIME_SOCKET = 0xb;
Runtime.RUNTIME_STATISTICS = 0xc;
Runtime.RUNTIME_STATS = 0xd;
Runtime.MAX_RUNTIME = 0xe;
Runtime.RUNTIME_GUI = 0x5;
Runtime.RUNTIME_CONTROL_KIT = 0x6;
Runtime.RUNTIME_GRAPHICS = 0x7;
Runtime.RUNTIME_THREE = 0x8;
Runtime.RUNTIME_PHYSICS = 0x9;
Runtime.RUNTIME_SOCKET = 0xa;
Runtime.RUNTIME_STATISTICS = 0xb;
Runtime.RUNTIME_STATS = 0xc;
Runtime.MAX_RUNTIME = 0xd;
class System {
@ -325,85 +324,83 @@ class Event {
}
Event.BEFORE_RENDER = 0x1;
Event.COMPONENT_CREATED = 0x2;
Event.COMPONENT_INITIALIZED = 0x3;
Event.CREATE_INSTANCE_BEFORE = 0x4;
Event.DISPOSE_INSTANCE = 0x5;
Event.DISPOSE_OBJECT = 0x6;
Event.DOM_COMPONENT_INITIALIZED = 0x7;
Event.ENTITY_CREATED = 0x8;
Event.ENTITY_INITIALIZED = 0x9;
Event.GET_RUNTIME = 0xa;
Event.GET_WINDOW_SIZE = 0xb;
Event.GRAPHICS_COMPONENT_INITIALIZED = 0xc;
Event.INPUT_COMPONENT_INITIALIZED = 0xd;
Event.INSTANCE_CREATED = 0xe;
Event.INSTANCE_DISPOSED = 0xf;
Event.KEYBOARD_DOWN = 0x10;
Event.KEYBOARD_UP = 0x11;
Event.MOUSE_DOWN = 0x12;
Event.MOUSE_MOVE = 0x13;
Event.MOUSE_UP = 0x14;
Event.MOUSE_WHEEL = 0x15;
Event.OBJECT_CREATED = 0x16;
Event.OBJECT_INITIALIZED = 0x17;
Event.PAUSE = 0x18;
Event.PROJECT_INITIALIZED = 0x19;
Event.RESTART = 0x1a;
Event.START = 0x1b;
Event.TOUCH_CANCEL = 0x1c;
Event.TOUCH_END = 0x1d;
Event.TOUCH_MOVE = 0x1e;
Event.TOUCH_START = 0x1f;
Event.UPDATE_FROM_INSTANCE_AFTER = 0x20;
Event.UPDATE_FROM_INSTANCE_BEFORE = 0x21;
Event.UPDATE_INSTANCE_AFTER = 0x22;
Event.UPDATE_INSTANCE_BEFORE = 0x23;
Event.UPDATE_INSTANCE_PROPERTY = 0x24;
Event.UPDATE_PROPERTY_FROM_INSTANCE = 0x25;
Event.MAX_EVENTS = 0x26;
Event.COMPONENT_CREATED = 0x1;
Event.COMPONENT_INITIALIZED = 0x2;
Event.CREATE_INSTANCE_BEFORE = 0x3;
Event.DISPOSE_INSTANCE = 0x4;
Event.DISPOSE_OBJECT = 0x5;
Event.DOM_COMPONENT_INITIALIZED = 0x6;
Event.ENTITY_CREATED = 0x7;
Event.ENTITY_INITIALIZED = 0x8;
Event.GET_RUNTIME = 0x9;
Event.GET_WINDOW_SIZE = 0xa;
Event.GRAPHICS_COMPONENT_INITIALIZED = 0xb;
Event.INPUT_COMPONENT_INITIALIZED = 0xc;
Event.INSTANCE_CREATED = 0xd;
Event.INSTANCE_DISPOSED = 0xe;
Event.KEYBOARD_DOWN = 0xf;
Event.KEYBOARD_UP = 0x10;
Event.MOUSE_DOWN = 0x11;
Event.MOUSE_MOVE = 0x12;
Event.MOUSE_UP = 0x13;
Event.MOUSE_WHEEL = 0x14;
Event.OBJECT_CREATED = 0x15;
Event.OBJECT_INITIALIZED = 0x16;
Event.PAUSE = 0x17;
Event.PROJECT_INITIALIZED = 0x18;
Event.RESTART = 0x19;
Event.START = 0x1a;
Event.TOUCH_CANCEL = 0x1b;
Event.TOUCH_END = 0x1c;
Event.TOUCH_MOVE = 0x1d;
Event.TOUCH_START = 0x1e;
Event.UPDATE_FROM_INSTANCE_AFTER = 0x1f;
Event.UPDATE_FROM_INSTANCE_BEFORE = 0x20;
Event.UPDATE_INSTANCE_AFTER = 0x21;
Event.UPDATE_INSTANCE_BEFORE = 0x22;
Event.UPDATE_INSTANCE_PROPERTY = 0x23;
Event.UPDATE_PROPERTY_FROM_INSTANCE = 0x24;
Event.MAX_EVENTS = 0x25;
Event.GetEventName = function(eventId) {
switch(eventId) {
case 0x1 : return 'before_render';
case 0x2 : return 'component_created';
case 0x3 : return 'component_initialized';
case 0x4 : return 'create_instance_before';
case 0x5 : return 'dispose_instance';
case 0x6 : return 'dispose_object';
case 0x7 : return 'dom_component_initialized';
case 0x8 : return 'entity_created';
case 0x9 : return 'entity_initialized';
case 0xa : return 'get_runtime';
case 0xb : return 'get_window_size';
case 0xc : return 'graphics_component_initialized';
case 0xd : return 'input_component_initialized';
case 0xe : return 'instance_created';
case 0xf : return 'instance_disposed';
case 0x10 : return 'keyboard_down';
case 0x11 : return 'keyboard_up';
case 0x12 : return 'mouse_down';
case 0x13 : return 'mouse_move';
case 0x14 : return 'mouse_up';
case 0x15 : return 'mouse_wheel';
case 0x16 : return 'object_created';
case 0x17 : return 'object_initialized';
case 0x18 : return 'pause';
case 0x19 : return 'project_initialized';
case 0x1a : return 'restart';
case 0x1b : return 'start';
case 0x1c : return 'touch_cancel';
case 0x1d : return 'touch_end';
case 0x1e : return 'touch_move';
case 0x1f : return 'touch_start';
case 0x20 : return 'update_from_instance_after';
case 0x21 : return 'update_from_instance_before';
case 0x22 : return 'update_instance_after';
case 0x23 : return 'update_instance_before';
case 0x24 : return 'update_instance_property';
case 0x25 : return 'update_property_from_instance';
case 0x1 : return 'component_created';
case 0x2 : return 'component_initialized';
case 0x3 : return 'create_instance_before';
case 0x4 : return 'dispose_instance';
case 0x5 : return 'dispose_object';
case 0x6 : return 'dom_component_initialized';
case 0x7 : return 'entity_created';
case 0x8 : return 'entity_initialized';
case 0x9 : return 'get_runtime';
case 0xa : return 'get_window_size';
case 0xb : return 'graphics_component_initialized';
case 0xc : return 'input_component_initialized';
case 0xd : return 'instance_created';
case 0xe : return 'instance_disposed';
case 0xf : return 'keyboard_down';
case 0x10 : return 'keyboard_up';
case 0x11 : return 'mouse_down';
case 0x12 : return 'mouse_move';
case 0x13 : return 'mouse_up';
case 0x14 : return 'mouse_wheel';
case 0x15 : return 'object_created';
case 0x16 : return 'object_initialized';
case 0x17 : return 'pause';
case 0x18 : return 'project_initialized';
case 0x19 : return 'restart';
case 0x1a : return 'start';
case 0x1b : return 'touch_cancel';
case 0x1c : return 'touch_end';
case 0x1d : return 'touch_move';
case 0x1e : return 'touch_start';
case 0x1f : return 'update_from_instance_after';
case 0x20 : return 'update_from_instance_before';
case 0x21 : return 'update_instance_after';
case 0x22 : return 'update_instance_before';
case 0x23 : return 'update_instance_property';
case 0x24 : return 'update_property_from_instance';
default :
throw new Error('Event type not defined : ' + eventId);
}
@ -1716,19 +1713,39 @@ class Utils {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeBullet extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -1775,19 +1792,39 @@ class RuntimeBullet extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeCoder extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -1834,19 +1871,39 @@ class RuntimeCoder extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeDOM extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -1860,79 +1917,6 @@ class RuntimeDOM extends Runtime {
}
/**
Class R3.Runtime.Default
[Inherited from Runtime]
Inherited Properties:
<no inherited properties>
Inherited Static Properties:
<no inherited static properties>
Inherited Methods:
<no inherited methods>
Inherited Static Methods:
<no inherited static methods>
[Belonging to RuntimeDefault]
Properties:
<no properties>
Static Properties:
<no static properties>
Methods:
<no methods>
Static Methods:
<no static methods>
**/
class RuntimeDefault extends Runtime {
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
if (typeof options.initialized === 'undefined') {
options.initialized = false;
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
super(options);
Object.assign(this, options);
if (options.callDepth === 0) {
this.initialize();
} else {
options.callDepth--;
}
}
}
/**
Class R3.Runtime.GUI
@ -1966,19 +1950,39 @@ class RuntimeDefault extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeGUI extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -2025,19 +2029,39 @@ class RuntimeGUI extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeGraphics extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -2084,19 +2108,39 @@ class RuntimeGraphics extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimePhysics extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -2143,19 +2187,39 @@ class RuntimePhysics extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeSocket extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -2202,19 +2266,39 @@ class RuntimeSocket extends Runtime {
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeStatistics extends Runtime {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -3370,8 +3454,7 @@ class R3Object extends Event {
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -3389,19 +3472,39 @@ class R3Object extends Event {
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeCoder.buildInstance()
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeCodeMirror extends RuntimeCoder {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -3448,8 +3551,7 @@ class RuntimeCodeMirror extends RuntimeCoder {
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -3467,19 +3569,39 @@ class RuntimeCodeMirror extends RuntimeCoder {
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeDOM.buildInstance()
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeDocument extends RuntimeDOM {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -3534,8 +3656,7 @@ class RuntimeDocument extends RuntimeDOM {
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -3553,19 +3674,39 @@ class RuntimeDocument extends RuntimeDOM {
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeGUI.buildInstance()
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeControlKit extends RuntimeGUI {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -3612,8 +3753,7 @@ class RuntimeControlKit extends RuntimeGUI {
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -3631,19 +3771,39 @@ class RuntimeControlKit extends RuntimeGUI {
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeGraphics.buildInstance()
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeThree extends RuntimeGraphics {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -3690,8 +3850,7 @@ class RuntimeThree extends RuntimeGraphics {
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -3709,19 +3868,39 @@ class RuntimeThree extends RuntimeGraphics {
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeStatistics.buildInstance()
<no methods>
Static Methods:
<no static methods>
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
**/
class RuntimeStats extends RuntimeStatistics {
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
Object.assign(this, options);
}
/**
@ -6879,7 +7058,6 @@ Runtime.Coder = RuntimeCoder;
Runtime.Coder.CodeMirror = RuntimeCodeMirror;
Runtime.DOM = RuntimeDOM;
Runtime.DOM.Document = RuntimeDocument;
Runtime.Default = RuntimeDefault;
Runtime.GUI = RuntimeGUI;
Runtime.GUI.ControlKit = RuntimeControlKit;
Runtime.Graphics = RuntimeGraphics;

View File

@ -1,6 +1,6 @@
{
"name": "r3",
"version" : "2.0.654",
"version" : "2.0.655",
"description": "",
"private": true,
"dependencies": {

View File

@ -342,85 +342,83 @@ class Event {
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_EVENTS_START
Event.BEFORE_RENDER = 0x1;
Event.COMPONENT_CREATED = 0x2;
Event.COMPONENT_INITIALIZED = 0x3;
Event.CREATE_INSTANCE_BEFORE = 0x4;
Event.DISPOSE_INSTANCE = 0x5;
Event.DISPOSE_OBJECT = 0x6;
Event.DOM_COMPONENT_INITIALIZED = 0x7;
Event.ENTITY_CREATED = 0x8;
Event.ENTITY_INITIALIZED = 0x9;
Event.GET_RUNTIME = 0xa;
Event.GET_WINDOW_SIZE = 0xb;
Event.GRAPHICS_COMPONENT_INITIALIZED = 0xc;
Event.INPUT_COMPONENT_INITIALIZED = 0xd;
Event.INSTANCE_CREATED = 0xe;
Event.INSTANCE_DISPOSED = 0xf;
Event.KEYBOARD_DOWN = 0x10;
Event.KEYBOARD_UP = 0x11;
Event.MOUSE_DOWN = 0x12;
Event.MOUSE_MOVE = 0x13;
Event.MOUSE_UP = 0x14;
Event.MOUSE_WHEEL = 0x15;
Event.OBJECT_CREATED = 0x16;
Event.OBJECT_INITIALIZED = 0x17;
Event.PAUSE = 0x18;
Event.PROJECT_INITIALIZED = 0x19;
Event.RESTART = 0x1a;
Event.START = 0x1b;
Event.TOUCH_CANCEL = 0x1c;
Event.TOUCH_END = 0x1d;
Event.TOUCH_MOVE = 0x1e;
Event.TOUCH_START = 0x1f;
Event.UPDATE_FROM_INSTANCE_AFTER = 0x20;
Event.UPDATE_FROM_INSTANCE_BEFORE = 0x21;
Event.UPDATE_INSTANCE_AFTER = 0x22;
Event.UPDATE_INSTANCE_BEFORE = 0x23;
Event.UPDATE_INSTANCE_PROPERTY = 0x24;
Event.UPDATE_PROPERTY_FROM_INSTANCE = 0x25;
Event.MAX_EVENTS = 0x26;
Event.COMPONENT_CREATED = 0x1;
Event.COMPONENT_INITIALIZED = 0x2;
Event.CREATE_INSTANCE_BEFORE = 0x3;
Event.DISPOSE_INSTANCE = 0x4;
Event.DISPOSE_OBJECT = 0x5;
Event.DOM_COMPONENT_INITIALIZED = 0x6;
Event.ENTITY_CREATED = 0x7;
Event.ENTITY_INITIALIZED = 0x8;
Event.GET_RUNTIME = 0x9;
Event.GET_WINDOW_SIZE = 0xa;
Event.GRAPHICS_COMPONENT_INITIALIZED = 0xb;
Event.INPUT_COMPONENT_INITIALIZED = 0xc;
Event.INSTANCE_CREATED = 0xd;
Event.INSTANCE_DISPOSED = 0xe;
Event.KEYBOARD_DOWN = 0xf;
Event.KEYBOARD_UP = 0x10;
Event.MOUSE_DOWN = 0x11;
Event.MOUSE_MOVE = 0x12;
Event.MOUSE_UP = 0x13;
Event.MOUSE_WHEEL = 0x14;
Event.OBJECT_CREATED = 0x15;
Event.OBJECT_INITIALIZED = 0x16;
Event.PAUSE = 0x17;
Event.PROJECT_INITIALIZED = 0x18;
Event.RESTART = 0x19;
Event.START = 0x1a;
Event.TOUCH_CANCEL = 0x1b;
Event.TOUCH_END = 0x1c;
Event.TOUCH_MOVE = 0x1d;
Event.TOUCH_START = 0x1e;
Event.UPDATE_FROM_INSTANCE_AFTER = 0x1f;
Event.UPDATE_FROM_INSTANCE_BEFORE = 0x20;
Event.UPDATE_INSTANCE_AFTER = 0x21;
Event.UPDATE_INSTANCE_BEFORE = 0x22;
Event.UPDATE_INSTANCE_PROPERTY = 0x23;
Event.UPDATE_PROPERTY_FROM_INSTANCE = 0x24;
Event.MAX_EVENTS = 0x25;
Event.GetEventName = function(eventId) {
switch(eventId) {
case 0x1 : return 'before_render';
case 0x2 : return 'component_created';
case 0x3 : return 'component_initialized';
case 0x4 : return 'create_instance_before';
case 0x5 : return 'dispose_instance';
case 0x6 : return 'dispose_object';
case 0x7 : return 'dom_component_initialized';
case 0x8 : return 'entity_created';
case 0x9 : return 'entity_initialized';
case 0xa : return 'get_runtime';
case 0xb : return 'get_window_size';
case 0xc : return 'graphics_component_initialized';
case 0xd : return 'input_component_initialized';
case 0xe : return 'instance_created';
case 0xf : return 'instance_disposed';
case 0x10 : return 'keyboard_down';
case 0x11 : return 'keyboard_up';
case 0x12 : return 'mouse_down';
case 0x13 : return 'mouse_move';
case 0x14 : return 'mouse_up';
case 0x15 : return 'mouse_wheel';
case 0x16 : return 'object_created';
case 0x17 : return 'object_initialized';
case 0x18 : return 'pause';
case 0x19 : return 'project_initialized';
case 0x1a : return 'restart';
case 0x1b : return 'start';
case 0x1c : return 'touch_cancel';
case 0x1d : return 'touch_end';
case 0x1e : return 'touch_move';
case 0x1f : return 'touch_start';
case 0x20 : return 'update_from_instance_after';
case 0x21 : return 'update_from_instance_before';
case 0x22 : return 'update_instance_after';
case 0x23 : return 'update_instance_before';
case 0x24 : return 'update_instance_property';
case 0x25 : return 'update_property_from_instance';
case 0x1 : return 'component_created';
case 0x2 : return 'component_initialized';
case 0x3 : return 'create_instance_before';
case 0x4 : return 'dispose_instance';
case 0x5 : return 'dispose_object';
case 0x6 : return 'dom_component_initialized';
case 0x7 : return 'entity_created';
case 0x8 : return 'entity_initialized';
case 0x9 : return 'get_runtime';
case 0xa : return 'get_window_size';
case 0xb : return 'graphics_component_initialized';
case 0xc : return 'input_component_initialized';
case 0xd : return 'instance_created';
case 0xe : return 'instance_disposed';
case 0xf : return 'keyboard_down';
case 0x10 : return 'keyboard_up';
case 0x11 : return 'mouse_down';
case 0x12 : return 'mouse_move';
case 0x13 : return 'mouse_up';
case 0x14 : return 'mouse_wheel';
case 0x15 : return 'object_created';
case 0x16 : return 'object_initialized';
case 0x17 : return 'pause';
case 0x18 : return 'project_initialized';
case 0x19 : return 'restart';
case 0x1a : return 'start';
case 0x1b : return 'touch_cancel';
case 0x1c : return 'touch_end';
case 0x1d : return 'touch_move';
case 0x1e : return 'touch_start';
case 0x1f : return 'update_from_instance_after';
case 0x20 : return 'update_from_instance_before';
case 0x21 : return 'update_instance_after';
case 0x22 : return 'update_instance_before';
case 0x23 : return 'update_instance_property';
case 0x24 : return 'update_property_from_instance';
default :
throw new Error('Event type not defined : ' + eventId);
}

View File

@ -1,6 +1,6 @@
class R3 {
static version = '2.0.654';
static compileDate = '2021 Sep 13 - 09:56:59 am';
static version = '2.0.655';
static compileDate = '2021 Sep 13 - 10:04:31 am';
}
//GENERATED_IMPORTS_START

View File

@ -5,7 +5,6 @@ const RuntimeCoder = require('./r3-runtime-coder.js');
const RuntimeCodeMirror = require('./r3-runtime-code-mirror.js');
const RuntimeDOM = require('./r3-runtime-d-o-m.js');
const RuntimeDocument = require('./r3-runtime-document.js');
const RuntimeDefault = require('./r3-runtime-default.js');
const RuntimeGUI = require('./r3-runtime-g-u-i.js');
const RuntimeControlKit = require('./r3-runtime-control-kit.js');
const RuntimeGraphics = require('./r3-runtime-graphics.js');
@ -22,7 +21,6 @@ Runtime.Coder = RuntimeCoder;
Runtime.Coder.CodeMirror = RuntimeCodeMirror;
Runtime.DOM = RuntimeDOM;
Runtime.DOM.Document = RuntimeDocument;
Runtime.Default = RuntimeDefault;
Runtime.GUI = RuntimeGUI;
Runtime.GUI.ControlKit = RuntimeControlKit;
Runtime.Graphics = RuntimeGraphics;

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeBullet extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeBullet extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const RuntimeCoder = require('./r3-runtime-coder.js');
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -56,8 +55,7 @@ const RuntimeCoder = require('./r3-runtime-coder.js');
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeCoder.buildInstance()
<no methods>
Static Methods:
@ -65,21 +63,56 @@ const RuntimeCoder = require('./r3-runtime-coder.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeCodeMirror extends RuntimeCoder {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -95,13 +128,28 @@ class RuntimeCodeMirror extends RuntimeCoder {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeCoder extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeCoder extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const RuntimeGUI = require('./r3-runtime-g-u-i.js');
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -56,8 +55,7 @@ const RuntimeGUI = require('./r3-runtime-g-u-i.js');
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeGUI.buildInstance()
<no methods>
Static Methods:
@ -65,21 +63,56 @@ const RuntimeGUI = require('./r3-runtime-g-u-i.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeControlKit extends RuntimeGUI {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -95,13 +128,28 @@ class RuntimeControlKit extends RuntimeGUI {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeDOM extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeDOM extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -1,127 +0,0 @@
const Event = require('.././r3-event');
const Utils = require('.././r3-utils');
const Runtime = require('.././r3-runtime.js');
/**
GENERATED_INHERITED_START
Class R3.Runtime.Default
[Inherited from Runtime]
Inherited Properties:
<no inherited properties>
Inherited Static Properties:
<no inherited static properties>
Inherited Methods:
<no inherited methods>
Inherited Static Methods:
<no inherited static methods>
[Belonging to RuntimeDefault]
Properties:
<no properties>
Static Properties:
<no static properties>
Methods:
<no methods>
Static Methods:
<no static methods>
GENERATED_INHERITED_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
CUSTOM_INSTANCE_OPTIONS_MAPPING_START
CUSTOM_INSTANCE_OPTIONS_MAPPING_END
CUSTOM_LINKED_OBJECTS_START
CUSTOM_LINKED_OBJECTS_END
CUSTOM_EXCLUDED_FROM_INSTANCE_OPTIONS_START
CUSTOM_EXCLUDED_FROM_INSTANCE_OPTIONS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeDefault extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
if (typeof options.initialized === 'undefined') {
options.initialized = false;
}
if (typeof options.callDepth === 'undefined') {
options.callDepth = 0;
} else {
options.callDepth++;
}
super(options);
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
//CUSTOM_OPTIONS_INIT_END
Object.assign(this, options);
//CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
if (options.callDepth === 0) {
this.initialize();
} else {
options.callDepth--;
}
//CUSTOM_AFTER_INIT_START
//CUSTOM_AFTER_INIT_END
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
module.exports = RuntimeDefault;

View File

@ -37,8 +37,7 @@ const RuntimeDOM = require('./r3-runtime-d-o-m.js');
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -56,8 +55,7 @@ const RuntimeDOM = require('./r3-runtime-d-o-m.js');
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeDOM.buildInstance()
<no methods>
Static Methods:
@ -65,21 +63,56 @@ const RuntimeDOM = require('./r3-runtime-d-o-m.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeDocument extends RuntimeDOM {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -102,13 +135,28 @@ class RuntimeDocument extends RuntimeDOM {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeGUI extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeGUI extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeGraphics extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeGraphics extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimePhysics extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimePhysics extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeSocket extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeSocket extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const Runtime = require('./r3-runtime.js');
Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no methods>
Static Methods:
@ -46,21 +45,56 @@ const Runtime = require('./r3-runtime.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeStatistics extends Runtime {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -76,13 +110,28 @@ class RuntimeStatistics extends Runtime {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const RuntimeStatistics = require('./r3-runtime-statistics.js');
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -56,8 +55,7 @@ const RuntimeStatistics = require('./r3-runtime-statistics.js');
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeStatistics.buildInstance()
<no methods>
Static Methods:
@ -65,21 +63,56 @@ const RuntimeStatistics = require('./r3-runtime-statistics.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeStats extends RuntimeStatistics {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -95,13 +128,28 @@ class RuntimeStats extends RuntimeStatistics {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -37,8 +37,7 @@ const RuntimeGraphics = require('./r3-runtime-graphics.js');
Inherited Methods:
- buildInstance(component)
Creates an instance of R3.Component based on this Runtime.
<no inherited methods>
Inherited Static Methods:
@ -56,8 +55,7 @@ const RuntimeGraphics = require('./r3-runtime-graphics.js');
Methods:
- buildInstance(component)
Overrides for R3.Runtime.RuntimeGraphics.buildInstance()
<no methods>
Static Methods:
@ -65,21 +63,56 @@ const RuntimeGraphics = require('./r3-runtime-graphics.js');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class RuntimeThree extends RuntimeGraphics {
//GENERATED_CONSTRUCTOR_START
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}
//GENERATED_CONSTRUCTOR_END
//GENERATED_METHODS_START
//GENERATED_TEMPLATE_METHODS_START
/**
* buildInstance()
@ -95,13 +128,28 @@ class RuntimeThree extends RuntimeGraphics {
//CUSTOM_BUILD_INSTANCE_METHOD_END
}
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -76,16 +76,15 @@ Runtime.RUNTIME_CODER = 0x1;
Runtime.RUNTIME_CODE_MIRROR = 0x2;
Runtime.RUNTIME_DOM = 0x3;
Runtime.RUNTIME_DOCUMENT = 0x4;
Runtime.RUNTIME_DEFAULT = 0x5;
Runtime.RUNTIME_GUI = 0x6;
Runtime.RUNTIME_CONTROL_KIT = 0x7;
Runtime.RUNTIME_GRAPHICS = 0x8;
Runtime.RUNTIME_THREE = 0x9;
Runtime.RUNTIME_PHYSICS = 0xa;
Runtime.RUNTIME_SOCKET = 0xb;
Runtime.RUNTIME_STATISTICS = 0xc;
Runtime.RUNTIME_STATS = 0xd;
Runtime.MAX_RUNTIME = 0xe;
Runtime.RUNTIME_GUI = 0x5;
Runtime.RUNTIME_CONTROL_KIT = 0x6;
Runtime.RUNTIME_GRAPHICS = 0x7;
Runtime.RUNTIME_THREE = 0x8;
Runtime.RUNTIME_PHYSICS = 0x9;
Runtime.RUNTIME_SOCKET = 0xa;
Runtime.RUNTIME_STATISTICS = 0xb;
Runtime.RUNTIME_STATS = 0xc;
Runtime.MAX_RUNTIME = 0xd;
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START

View File

@ -8,10 +8,31 @@ const EXTEND_CLASS = require('./EXTEND_CLASS_FILE_NAME');
GENERATED_INHERITED_END
CUSTOM_METHODS_START
TEMPLATE_OPTIONS_START
TEMPLATE_OPTIONS_END
CUSTOM_OPTIONS_START
CUSTOM_OPTIONS_END
TEMPLATE_STATIC_OPTIONS_START
TEMPLATE_STATIC_OPTIONS_END
CUSTOM_STATIC_OPTIONS_START
CUSTOM_STATIC_OPTIONS_END
TEMPLATE_METHODS_START
buildInstance(component) - Creates an instance of R3.Component based on this Runtime.
TEMPLATE_METHODS_END
CUSTOM_METHODS_START
CUSTOM_METHODS_END
TEMPLATE_STATIC_METHODS_START
TEMPLATE_STATIC_METHODS_END
CUSTOM_STATIC_METHODS_START
CUSTOM_STATIC_METHODS_END
**/
class CLASS_NAME extends EXTEND_CLASS {
@ -19,14 +40,29 @@ class CLASS_NAME extends EXTEND_CLASS {
//GENERATED_CONSTRUCTOR_START
//GENERATED_CONSTRUCTOR_END
//GENERATED_TEMPLATE_METHODS_START
//GENERATED_TEMPLATE_METHODS_END
//GENERATED_METHODS_START
//GENERATED_METHODS_END
//GENERATED_TEMPLATE_STATIC_METHODS_START
//GENERATED_TEMPLATE_STATIC_METHODS_END
//GENERATED_STATIC_METHODS_START
//GENERATED_STATIC_METHODS_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_START
//GENERATED_TEMPLATE_STATIC_OPTIONS_INIT_END
//GENERATED_STATIC_OPTIONS_INIT_START
//GENERATED_STATIC_OPTIONS_INIT_END
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_START
//GENERATED_OUT_OF_CLASS_IMPLEMENTATION_END

View File

@ -1,3 +1,17 @@
constructor() {
super();
constructor(options) {
if (typeof options === 'undefined') {
options = {};
}
super(options);
//GENERATED_TEMPLATE_OPTIONS_INIT_START
//GENERATED_TEMPLATE_OPTIONS_INIT_END
//GENERATED_OPTIONS_INIT_START
//GENERATED_OPTIONS_INIT_END
Object.assign(this, options);
}

View File

@ -1 +1 @@
2.0.654
2.0.655