From 5775e1fc58e31fba22fa91d162192bdb60c7134c Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 7 Jan 2018 12:40:16 +0100 Subject: [PATCH] Object.create chain update --- src/game-lib-a-api-component.js | 1 - src/game-lib-a-component-a.js | 2 +- src/game-lib-api-canvas.js | 2 +- src/game-lib-api-clock.js | 2 +- src/game-lib-api-controls.js | 2 +- src/game-lib-api-custom-code.js | 2 +- src/game-lib-api-dom-element.js | 2 +- src/game-lib-api-entity-manager.js | 2 +- src/game-lib-api-entity.js | 2 +- src/game-lib-api-gui.js | 2 +- src/game-lib-api-image.js | 2 +- src/game-lib-api-mouse.js | 2 +- src/game-lib-api-server.js | 2 +- src/game-lib-api-socket-0.js | 2 +- src/game-lib-api-stats.js | 2 +- src/game-lib-api-system.js | 2 +- src/game-lib-canvas.js | 2 +- src/game-lib-clock.js | 2 +- src/game-lib-color.js | 2 +- src/game-lib-controls-0.js | 2 +- src/game-lib-custom-code.js | 2 +- src/game-lib-d3-api-animation.js | 2 +- src/game-lib-d3-api-audio.js | 2 +- src/game-lib-d3-api-bone.js | 2 +- src/game-lib-d3-api-broadphase.js | 2 +- src/game-lib-d3-api-camera.js | 2 +- src/game-lib-d3-api-composer.js | 2 +- src/game-lib-d3-api-face.js | 2 +- src/game-lib-d3-api-fog.js | 2 +- src/game-lib-d3-api-font.js | 2 +- src/game-lib-d3-api-friction-contact-material.js | 2 +- src/game-lib-d3-api-friction-material.js | 2 +- src/game-lib-d3-api-light.js | 2 +- src/game-lib-d3-api-material.js | 2 +- src/game-lib-d3-api-mesh-0.js | 2 +- src/game-lib-d3-api-particle-engine.js | 2 +- src/game-lib-d3-api-particle.js | 2 +- src/game-lib-d3-api-pass.js | 2 +- src/game-lib-d3-api-physics-world.js | 2 +- src/game-lib-d3-api-raycast-vehicle.js | 2 +- src/game-lib-d3-api-raycast-wheel.js | 2 +- src/game-lib-d3-api-raycaster.js | 2 +- src/game-lib-d3-api-render-target.js | 2 +- src/game-lib-d3-api-renderer.js | 2 +- src/game-lib-d3-api-rigid-body.js | 2 +- src/game-lib-d3-api-scene.js | 2 +- src/game-lib-d3-api-shape.js | 2 +- src/game-lib-d3-api-skeleton.js | 2 +- src/game-lib-d3-api-solver.js | 2 +- src/game-lib-d3-api-spline.js | 2 +- src/game-lib-d3-api-texture.js | 2 +- src/game-lib-d3-api-viewport.js | 2 +- src/game-lib-d3-api-z-animation.js | 2 +- src/game-lib-d3-audio.js | 2 +- src/game-lib-d3-bone-weight.js | 2 +- src/game-lib-d3-bone.js | 2 +- src/game-lib-d3-broadphase.js | 2 +- src/game-lib-d3-camera.js | 2 +- src/game-lib-d3-composer.js | 2 +- src/game-lib-d3-face.js | 2 +- src/game-lib-d3-fog.js | 2 +- src/game-lib-d3-font.js | 2 +- src/game-lib-d3-friction-contact-material.js | 2 +- src/game-lib-d3-friction-material.js | 2 +- src/game-lib-d3-light.js | 2 +- src/game-lib-d3-material.js | 2 +- src/game-lib-d3-mesh-0.js | 2 +- src/game-lib-d3-particle-engine.js | 2 +- src/game-lib-d3-particle.js | 2 +- src/game-lib-d3-pass.js | 2 +- src/game-lib-d3-physics-world.js | 2 +- src/game-lib-d3-raycast-vehicle.js | 2 +- src/game-lib-d3-raycast-wheel.js | 2 +- src/game-lib-d3-raycaster.js | 2 +- src/game-lib-d3-render-target.js | 2 +- src/game-lib-d3-renderer.js | 2 +- src/game-lib-d3-rigid-body.js | 2 +- src/game-lib-d3-scene.js | 2 +- src/game-lib-d3-shape-0.js | 2 +- src/game-lib-d3-skeleton.js | 2 +- src/game-lib-d3-solver.js | 2 +- src/game-lib-d3-spline.js | 2 +- src/game-lib-d3-texture.js | 2 +- src/game-lib-d3-vertex.js | 2 +- src/game-lib-d3-viewport.js | 2 +- src/game-lib-dom-element.js | 2 +- src/game-lib-entity-manager.js | 2 +- src/game-lib-entity.js | 2 +- src/game-lib-image.js | 2 +- src/game-lib-matrix-4.js | 2 +- src/game-lib-mouse.js | 2 +- src/game-lib-quaternion.js | 2 +- src/game-lib-server.js | 2 +- src/game-lib-socket-0.js | 2 +- src/game-lib-system-0.js | 2 +- src/game-lib-vector2.js | 2 +- src/game-lib-vector3.js | 2 +- src/game-lib-vector4.js | 2 +- 98 files changed, 97 insertions(+), 98 deletions(-) diff --git a/src/game-lib-a-api-component.js b/src/game-lib-a-api-component.js index 97a047f..f5dfef7 100644 --- a/src/game-lib-a-api-component.js +++ b/src/game-lib-a-api-component.js @@ -16,5 +16,4 @@ GameLib.API.Component = function( this.parentEntity = parentEntity; }; -GameLib.API.Component.prototype = Object.create(GameLib.Event.prototype); GameLib.API.Component.prototype.constructor = GameLib.API.Component; \ No newline at end of file diff --git a/src/game-lib-a-component-a.js b/src/game-lib-a-component-a.js index 95e86af..0ad78b2 100644 --- a/src/game-lib-a-component-a.js +++ b/src/game-lib-a-component-a.js @@ -58,7 +58,7 @@ GameLib.Component = function( }; -GameLib.Component.prototype = Object.create(GameLib.API.Component.prototype); +GameLib.Component.prototype = Object.create(GameLib.Event.prototype); GameLib.Component.prototype.constructor = GameLib.Component; /** diff --git a/src/game-lib-api-canvas.js b/src/game-lib-api-canvas.js index 79dd4bd..c598132 100644 --- a/src/game-lib-api-canvas.js +++ b/src/game-lib-api-canvas.js @@ -41,7 +41,7 @@ GameLib.API.Canvas = function( ); }; -GameLib.API.Canvas.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Canvas.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Canvas.prototype.constructor = GameLib.API.Canvas; /** diff --git a/src/game-lib-api-clock.js b/src/game-lib-api-clock.js index bb98503..2118dbd 100644 --- a/src/game-lib-api-clock.js +++ b/src/game-lib-api-clock.js @@ -28,7 +28,7 @@ GameLib.API.Clock = function( ); }; -GameLib.API.Clock.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Clock.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Clock.prototype.constructor = GameLib.API.Clock; /** diff --git a/src/game-lib-api-controls.js b/src/game-lib-api-controls.js index 209e911..84b1c5f 100644 --- a/src/game-lib-api-controls.js +++ b/src/game-lib-api-controls.js @@ -96,7 +96,7 @@ GameLib.API.Controls = function( ); }; -GameLib.API.Controls.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Controls.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Controls.prototype.constructor = GameLib.API.Controls; /** diff --git a/src/game-lib-api-custom-code.js b/src/game-lib-api-custom-code.js index 6ca97c3..e04818a 100644 --- a/src/game-lib-api-custom-code.js +++ b/src/game-lib-api-custom-code.js @@ -41,7 +41,7 @@ GameLib.API.CustomCode = function ( ); }; -GameLib.API.CustomCode.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.CustomCode.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.CustomCode.prototype.constructor = GameLib.API.CustomCode; /** diff --git a/src/game-lib-api-dom-element.js b/src/game-lib-api-dom-element.js index 341f331..b55d8c9 100644 --- a/src/game-lib-api-dom-element.js +++ b/src/game-lib-api-dom-element.js @@ -35,7 +35,7 @@ GameLib.API.DomElement = function( ); }; -GameLib.API.DomElement.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.DomElement.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.DomElement.prototype.constructor = GameLib.API.DomElement; /** diff --git a/src/game-lib-api-entity-manager.js b/src/game-lib-api-entity-manager.js index 6c6e6ad..5ac581a 100644 --- a/src/game-lib-api-entity-manager.js +++ b/src/game-lib-api-entity-manager.js @@ -48,7 +48,7 @@ GameLib.API.EntityManager = function( ); }; -GameLib.API.EntityManager.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.EntityManager.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.EntityManager.prototype.constructor = GameLib.API.EntityManager; /** diff --git a/src/game-lib-api-entity.js b/src/game-lib-api-entity.js index 1223ee8..8b8b796 100644 --- a/src/game-lib-api-entity.js +++ b/src/game-lib-api-entity.js @@ -41,7 +41,7 @@ GameLib.API.Entity = function( ); }; -GameLib.API.Entity.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Entity.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Entity.prototype.constructor = GameLib.API.Entity; /** diff --git a/src/game-lib-api-gui.js b/src/game-lib-api-gui.js index 657a0f1..be420a5 100644 --- a/src/game-lib-api-gui.js +++ b/src/game-lib-api-gui.js @@ -35,7 +35,7 @@ GameLib.API.GUI = function( ); }; -GameLib.API.GUI.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.GUI.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.GUI.prototype.constructor = GameLib.API.GUI; /** diff --git a/src/game-lib-api-image.js b/src/game-lib-api-image.js index a2efd91..9e59cf2 100644 --- a/src/game-lib-api-image.js +++ b/src/game-lib-api-image.js @@ -75,7 +75,7 @@ GameLib.API.Image = function( ); }; -GameLib.API.Image.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Image.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Image.prototype.constructor = GameLib.API.Image; /** diff --git a/src/game-lib-api-mouse.js b/src/game-lib-api-mouse.js index 3cc7ad8..77fb9b2 100644 --- a/src/game-lib-api-mouse.js +++ b/src/game-lib-api-mouse.js @@ -41,7 +41,7 @@ GameLib.API.Mouse = function( ); }; -GameLib.API.Mouse.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Mouse.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Mouse.prototype.constructor = GameLib.API.Mouse; /** diff --git a/src/game-lib-api-server.js b/src/game-lib-api-server.js index 723e91f..b6264e8 100644 --- a/src/game-lib-api-server.js +++ b/src/game-lib-api-server.js @@ -56,7 +56,7 @@ GameLib.API.Server = function( ); }; -GameLib.API.Server.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Server.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Server.prototype.constructor = GameLib.API.Server; /** diff --git a/src/game-lib-api-socket-0.js b/src/game-lib-api-socket-0.js index 2227cd1..9f022e7 100644 --- a/src/game-lib-api-socket-0.js +++ b/src/game-lib-api-socket-0.js @@ -66,7 +66,7 @@ GameLib.API.Socket = function( ); }; -GameLib.API.Socket.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Socket.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Socket.prototype.constructor = GameLib.API.Socket; GameLib.API.Socket.TYPE_NONE = 0x1; diff --git a/src/game-lib-api-stats.js b/src/game-lib-api-stats.js index 0725bfe..b283811 100644 --- a/src/game-lib-api-stats.js +++ b/src/game-lib-api-stats.js @@ -35,7 +35,7 @@ GameLib.API.Stats = function( ); }; -GameLib.API.Stats.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.Stats.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.Stats.prototype.constructor = GameLib.API.Stats; /** diff --git a/src/game-lib-api-system.js b/src/game-lib-api-system.js index 5900323..24b47ca 100644 --- a/src/game-lib-api-system.js +++ b/src/game-lib-api-system.js @@ -86,7 +86,7 @@ GameLib.API.System = function ( }; -GameLib.API.System.prototype = Object.create(GameLib.Component.prototype); +GameLib.API.System.prototype = Object.create(GameLib.API.Component.prototype); GameLib.API.System.prototype.constructor = GameLib.API.System; /** diff --git a/src/game-lib-canvas.js b/src/game-lib-canvas.js index 1769522..8742cf3 100644 --- a/src/game-lib-canvas.js +++ b/src/game-lib-canvas.js @@ -27,7 +27,7 @@ GameLib.Canvas = function( GameLib.Component.call(this); }; -GameLib.Canvas.prototype = Object.create(GameLib.API.Canvas.prototype); +GameLib.Canvas.prototype = Object.create(GameLib.Component.prototype); GameLib.Canvas.prototype.constructor = GameLib.Canvas; /** diff --git a/src/game-lib-clock.js b/src/game-lib-clock.js index 4e640d9..0c70493 100644 --- a/src/game-lib-clock.js +++ b/src/game-lib-clock.js @@ -30,7 +30,7 @@ GameLib.Clock = function( GameLib.Component.call(this); } ; -GameLib.Clock.prototype = Object.create(GameLib.API.Clock.prototype); +GameLib.Clock.prototype = Object.create(GameLib.Component.prototype); GameLib.Clock.prototype.constructor = GameLib.Clock; /** diff --git a/src/game-lib-color.js b/src/game-lib-color.js index 12e720d..52f1a03 100644 --- a/src/game-lib-color.js +++ b/src/game-lib-color.js @@ -45,7 +45,7 @@ GameLib.Color = function ( this.createInstance(); }; -GameLib.Color.prototype = Object.create(GameLib.API.Color.prototype); +GameLib.Color.prototype = Object.create(GameLib.Component.prototype); GameLib.Color.prototype.constructor = GameLib.Color; /** diff --git a/src/game-lib-controls-0.js b/src/game-lib-controls-0.js index f4cb62b..649c88b 100644 --- a/src/game-lib-controls-0.js +++ b/src/game-lib-controls-0.js @@ -45,7 +45,7 @@ GameLib.Controls = function ( ); }; -GameLib.Controls.prototype = Object.create(GameLib.API.Controls.prototype); +GameLib.Controls.prototype = Object.create(GameLib.Component.prototype); GameLib.Controls.prototype.constructor = GameLib.Controls; GameLib.Controls.D3 = function() {}; diff --git a/src/game-lib-custom-code.js b/src/game-lib-custom-code.js index 0cbc308..5d74fd8 100644 --- a/src/game-lib-custom-code.js +++ b/src/game-lib-custom-code.js @@ -29,7 +29,7 @@ GameLib.CustomCode = function( GameLib.Component.call(this); }; -GameLib.CustomCode.prototype = Object.create(GameLib.API.CustomCode.prototype); +GameLib.CustomCode.prototype = Object.create(GameLib.Component.prototype); GameLib.CustomCode.prototype.constructor = GameLib.CustomCode; GameLib.CustomCode.prototype.createInstance = function() { diff --git a/src/game-lib-d3-api-animation.js b/src/game-lib-d3-api-animation.js index 340767c..b000643 100644 --- a/src/game-lib-d3-api-animation.js +++ b/src/game-lib-d3-api-animation.js @@ -94,7 +94,7 @@ GameLib.D3.API.Animation = function ( ); }; -GameLib.D3.API.Animation.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Animation.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Animation.prototype.constructor = GameLib.D3.API.Animation; /** diff --git a/src/game-lib-d3-api-audio.js b/src/game-lib-d3-api-audio.js index ab6b951..73338de 100644 --- a/src/game-lib-d3-api-audio.js +++ b/src/game-lib-d3-api-audio.js @@ -70,7 +70,7 @@ GameLib.D3.API.Audio = function( ); }; -GameLib.D3.API.Audio.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Audio.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Audio.prototype.constructor = GameLib.D3.API.Audio; /** diff --git a/src/game-lib-d3-api-bone.js b/src/game-lib-d3-api-bone.js index 04d6d35..8151621 100644 --- a/src/game-lib-d3-api-bone.js +++ b/src/game-lib-d3-api-bone.js @@ -70,7 +70,7 @@ GameLib.D3.API.Bone = function ( ); }; -GameLib.D3.API.Bone.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Bone.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Bone.prototype.constructor = GameLib.D3.API.Bone; /** diff --git a/src/game-lib-d3-api-broadphase.js b/src/game-lib-d3-api-broadphase.js index ccbd619..44800d2 100644 --- a/src/game-lib-d3-api-broadphase.js +++ b/src/game-lib-d3-api-broadphase.js @@ -35,7 +35,7 @@ GameLib.D3.API.Broadphase = function( ); }; -GameLib.D3.API.Broadphase.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Broadphase.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Broadphase.prototype.constructor = GameLib.D3.API.Broadphase; /** diff --git a/src/game-lib-d3-api-camera.js b/src/game-lib-d3-api-camera.js index fb09225..0b520a8 100644 --- a/src/game-lib-d3-api-camera.js +++ b/src/game-lib-d3-api-camera.js @@ -162,7 +162,7 @@ GameLib.D3.API.Camera = function( ); }; -GameLib.D3.API.Camera.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Camera.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Camera.prototype.constructor = GameLib.D3.API.Camera; /** diff --git a/src/game-lib-d3-api-composer.js b/src/game-lib-d3-api-composer.js index 97514ad..98c2de5 100644 --- a/src/game-lib-d3-api-composer.js +++ b/src/game-lib-d3-api-composer.js @@ -48,7 +48,7 @@ GameLib.D3.API.Composer = function ( ); }; -GameLib.D3.API.Composer.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Composer.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Composer.prototype.constructor = GameLib.D3.API.Composer; /** diff --git a/src/game-lib-d3-api-face.js b/src/game-lib-d3-api-face.js index 86e74fa..75a73d8 100644 --- a/src/game-lib-d3-api-face.js +++ b/src/game-lib-d3-api-face.js @@ -87,7 +87,7 @@ GameLib.D3.API.Face = function( * We don't inherit from component - it makes the entitymanager too heavy - all faces end up in the register etc.. */ -// GameLib.D3.API.Face.prototype = Object.create(GameLib.Component.prototype); +// GameLib.D3.API.Face.prototype = Object.create(GameLib.API.Component.prototype); // GameLib.D3.API.Face.prototype.constructor = GameLib.D3.API.Face; /** diff --git a/src/game-lib-d3-api-fog.js b/src/game-lib-d3-api-fog.js index 9ca9c31..9991461 100644 --- a/src/game-lib-d3-api-fog.js +++ b/src/game-lib-d3-api-fog.js @@ -63,7 +63,7 @@ GameLib.D3.API.Fog = function( ); }; -GameLib.D3.API.Fog.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Fog.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Fog.prototype.constructor = GameLib.D3.API.Fog; /** diff --git a/src/game-lib-d3-api-font.js b/src/game-lib-d3-api-font.js index eb920f6..f1c42fc 100644 --- a/src/game-lib-d3-api-font.js +++ b/src/game-lib-d3-api-font.js @@ -34,7 +34,7 @@ GameLib.D3.API.Font = function( ); }; -GameLib.D3.API.Font.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Font.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Font.prototype.constructor = GameLib.D3.API.Font; /** diff --git a/src/game-lib-d3-api-friction-contact-material.js b/src/game-lib-d3-api-friction-contact-material.js index c6b9729..af0fbb4 100644 --- a/src/game-lib-d3-api-friction-contact-material.js +++ b/src/game-lib-d3-api-friction-contact-material.js @@ -77,7 +77,7 @@ GameLib.D3.API.FrictionContactMaterial = function( ); }; -GameLib.D3.API.FrictionContactMaterial.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.FrictionContactMaterial.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.FrictionContactMaterial.prototype.constructor = GameLib.D3.API.FrictionContactMaterial; /** diff --git a/src/game-lib-d3-api-friction-material.js b/src/game-lib-d3-api-friction-material.js index 4852998..2f8001e 100644 --- a/src/game-lib-d3-api-friction-material.js +++ b/src/game-lib-d3-api-friction-material.js @@ -42,7 +42,7 @@ GameLib.D3.API.FrictionMaterial = function( ); }; -GameLib.D3.API.FrictionMaterial.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.FrictionMaterial.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.FrictionMaterial.prototype.constructor = GameLib.D3.API.FrictionMaterial; /** diff --git a/src/game-lib-d3-api-light.js b/src/game-lib-d3-api-light.js index 89860be..f0fea43 100644 --- a/src/game-lib-d3-api-light.js +++ b/src/game-lib-d3-api-light.js @@ -142,7 +142,7 @@ GameLib.D3.API.Light = function( ); }; -GameLib.D3.API.Light.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Light.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Light.prototype.constructor = GameLib.D3.API.Light; /** diff --git a/src/game-lib-d3-api-material.js b/src/game-lib-d3-api-material.js index 769cdd0..4a07923 100644 --- a/src/game-lib-d3-api-material.js +++ b/src/game-lib-d3-api-material.js @@ -492,7 +492,7 @@ GameLib.D3.API.Material = function( this.needsUpdate = false; }; -GameLib.D3.API.Material.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Material.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Material.prototype.constructor = GameLib.D3.API.Material; /** diff --git a/src/game-lib-d3-api-mesh-0.js b/src/game-lib-d3-api-mesh-0.js index fd27a8e..89c64de 100644 --- a/src/game-lib-d3-api-mesh-0.js +++ b/src/game-lib-d3-api-mesh-0.js @@ -187,7 +187,7 @@ GameLib.D3.API.Mesh = function( ); }; -GameLib.D3.API.Mesh.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Mesh.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Mesh.prototype.constructor = GameLib.D3.API.Mesh; diff --git a/src/game-lib-d3-api-particle-engine.js b/src/game-lib-d3-api-particle-engine.js index d810247..995b7c9 100644 --- a/src/game-lib-d3-api-particle-engine.js +++ b/src/game-lib-d3-api-particle-engine.js @@ -91,7 +91,7 @@ GameLib.D3.API.ParticleEngine = function( ); }; -GameLib.D3.API.ParticleEngine.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.ParticleEngine.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.ParticleEngine.prototype.constructor = GameLib.D3.API.ParticleEngine; diff --git a/src/game-lib-d3-api-particle.js b/src/game-lib-d3-api-particle.js index d4a4039..ecd7caa 100644 --- a/src/game-lib-d3-api-particle.js +++ b/src/game-lib-d3-api-particle.js @@ -168,7 +168,7 @@ GameLib.D3.API.Particle = function( ); }; -GameLib.D3.API.Particle.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Particle.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Particle.prototype.constructor = GameLib.D3.API.Particle; /** diff --git a/src/game-lib-d3-api-pass.js b/src/game-lib-d3-api-pass.js index 1cbabe1..09f6af1 100644 --- a/src/game-lib-d3-api-pass.js +++ b/src/game-lib-d3-api-pass.js @@ -64,7 +64,7 @@ GameLib.D3.API.Pass = function ( ); }; -GameLib.D3.API.Pass.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Pass.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Pass.prototype.constructor = GameLib.D3.API.Pass; /** diff --git a/src/game-lib-d3-api-physics-world.js b/src/game-lib-d3-api-physics-world.js index cc2104a..d3c2819 100644 --- a/src/game-lib-d3-api-physics-world.js +++ b/src/game-lib-d3-api-physics-world.js @@ -86,7 +86,7 @@ GameLib.D3.API.PhysicsWorld = function( ); }; -GameLib.D3.API.PhysicsWorld.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.PhysicsWorld.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.PhysicsWorld.prototype.constructor = GameLib.D3.API.PhysicsWorld; /** diff --git a/src/game-lib-d3-api-raycast-vehicle.js b/src/game-lib-d3-api-raycast-vehicle.js index b618c7c..46ce98a 100644 --- a/src/game-lib-d3-api-raycast-vehicle.js +++ b/src/game-lib-d3-api-raycast-vehicle.js @@ -56,7 +56,7 @@ GameLib.D3.API.RaycastVehicle = function( ); }; -GameLib.D3.API.RaycastVehicle.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.RaycastVehicle.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.RaycastVehicle.prototype.constructor = GameLib.D3.API.RaycastVehicle; /** diff --git a/src/game-lib-d3-api-raycast-wheel.js b/src/game-lib-d3-api-raycast-wheel.js index 792d931..e2a6649 100644 --- a/src/game-lib-d3-api-raycast-wheel.js +++ b/src/game-lib-d3-api-raycast-wheel.js @@ -133,7 +133,7 @@ GameLib.D3.API.RaycastWheel = function( ); }; -GameLib.D3.API.RaycastWheel.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.RaycastWheel.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.RaycastWheel.prototype.constructor = GameLib.D3.API.RaycastWheel; /** diff --git a/src/game-lib-d3-api-raycaster.js b/src/game-lib-d3-api-raycaster.js index 0b6f957..ed61c2b 100644 --- a/src/game-lib-d3-api-raycaster.js +++ b/src/game-lib-d3-api-raycaster.js @@ -42,7 +42,7 @@ GameLib.D3.API.Raycaster = function( ); }; -GameLib.D3.API.Raycaster.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Raycaster.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Raycaster.prototype.constructor = GameLib.D3.API.Raycaster; /** diff --git a/src/game-lib-d3-api-render-target.js b/src/game-lib-d3-api-render-target.js index bf77d54..6bf2265 100644 --- a/src/game-lib-d3-api-render-target.js +++ b/src/game-lib-d3-api-render-target.js @@ -61,7 +61,7 @@ GameLib.D3.API.RenderTarget = function ( }; -GameLib.D3.API.RenderTarget.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.RenderTarget.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.RenderTarget.prototype.constructor = GameLib.D3.API.RenderTarget; /** diff --git a/src/game-lib-d3-api-renderer.js b/src/game-lib-d3-api-renderer.js index 2b31d7d..7bf596d 100644 --- a/src/game-lib-d3-api-renderer.js +++ b/src/game-lib-d3-api-renderer.js @@ -144,7 +144,7 @@ GameLib.D3.API.Renderer = function ( }; -GameLib.D3.API.Renderer.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Renderer.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Renderer.prototype.constructor = GameLib.D3.API.Renderer; /** diff --git a/src/game-lib-d3-api-rigid-body.js b/src/game-lib-d3-api-rigid-body.js index 4a94872..8c2fc06 100644 --- a/src/game-lib-d3-api-rigid-body.js +++ b/src/game-lib-d3-api-rigid-body.js @@ -154,7 +154,7 @@ GameLib.D3.API.RigidBody = function( ); }; -GameLib.D3.API.RigidBody.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.RigidBody.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.RigidBody.prototype.constructor = GameLib.D3.API.RigidBody; /** diff --git a/src/game-lib-d3-api-scene.js b/src/game-lib-d3-api-scene.js index a864025..10699c2 100644 --- a/src/game-lib-d3-api-scene.js +++ b/src/game-lib-d3-api-scene.js @@ -106,7 +106,7 @@ GameLib.D3.API.Scene = function( }; -GameLib.D3.API.Scene.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Scene.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Scene.prototype.constructor = GameLib.D3.API.Scene; /** diff --git a/src/game-lib-d3-api-shape.js b/src/game-lib-d3-api-shape.js index 490d6d5..4404551 100644 --- a/src/game-lib-d3-api-shape.js +++ b/src/game-lib-d3-api-shape.js @@ -122,7 +122,7 @@ GameLib.D3.API.Shape = function( ); }; -GameLib.D3.API.Shape.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Shape.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Shape.prototype.constructor = GameLib.D3.API.Shape; GameLib.D3.API.Shape.SHAPE_TYPE_NONE = 0x0; diff --git a/src/game-lib-d3-api-skeleton.js b/src/game-lib-d3-api-skeleton.js index 0150c52..e210645 100644 --- a/src/game-lib-d3-api-skeleton.js +++ b/src/game-lib-d3-api-skeleton.js @@ -85,7 +85,7 @@ GameLib.D3.API.Skeleton = function ( ); }; -GameLib.D3.API.Skeleton.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Skeleton.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Skeleton.prototype.constructor = GameLib.D3.API.Skeleton; /** diff --git a/src/game-lib-d3-api-solver.js b/src/game-lib-d3-api-solver.js index f1778ac..30dc006 100644 --- a/src/game-lib-d3-api-solver.js +++ b/src/game-lib-d3-api-solver.js @@ -49,7 +49,7 @@ GameLib.D3.API.Solver = function( ); }; -GameLib.D3.API.Solver.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Solver.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Solver.prototype.constructor = GameLib.D3.API.Solver; /** diff --git a/src/game-lib-d3-api-spline.js b/src/game-lib-d3-api-spline.js index 4e87bdf..66b6581 100644 --- a/src/game-lib-d3-api-spline.js +++ b/src/game-lib-d3-api-spline.js @@ -34,7 +34,7 @@ GameLib.D3.API.Spline = function( ); }; -GameLib.D3.API.Spline.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Spline.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Spline.prototype.constructor = GameLib.D3.API.Spline; /** diff --git a/src/game-lib-d3-api-texture.js b/src/game-lib-d3-api-texture.js index 8bce632..59414a8 100644 --- a/src/game-lib-d3-api-texture.js +++ b/src/game-lib-d3-api-texture.js @@ -199,7 +199,7 @@ GameLib.D3.API.Texture = function( ); }; -GameLib.D3.API.Texture.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Texture.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Texture.prototype.constructor = GameLib.D3.API.Texture; /** diff --git a/src/game-lib-d3-api-viewport.js b/src/game-lib-d3-api-viewport.js index ef46895..4eafec6 100644 --- a/src/game-lib-d3-api-viewport.js +++ b/src/game-lib-d3-api-viewport.js @@ -56,7 +56,7 @@ GameLib.D3.API.Viewport = function( ); }; -GameLib.D3.API.Viewport.prototype = Object.create(GameLib.Component.prototype); +GameLib.D3.API.Viewport.prototype = Object.create(GameLib.API.Component.prototype); GameLib.D3.API.Viewport.prototype.constructor = GameLib.D3.API.Viewport; /** diff --git a/src/game-lib-d3-api-z-animation.js b/src/game-lib-d3-api-z-animation.js index aba0978..c255005 100644 --- a/src/game-lib-d3-api-z-animation.js +++ b/src/game-lib-d3-api-z-animation.js @@ -49,7 +49,7 @@ GameLib.D3.Animation = function( ); }; -GameLib.D3.Animation.prototype = Object.create(GameLib.D3.API.Animation.prototype); +GameLib.D3.Animation.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Animation.prototype.constructor = GameLib.D3.Animation; GameLib.D3.Animation.ANIMATION_FUNCTION_TYPE_ROTATION = 1; diff --git a/src/game-lib-d3-audio.js b/src/game-lib-d3-audio.js index f7051e2..0e9ef67 100644 --- a/src/game-lib-d3-audio.js +++ b/src/game-lib-d3-audio.js @@ -49,7 +49,7 @@ GameLib.D3.Audio = function( }; -GameLib.D3.Audio.prototype = Object.create(GameLib.D3.API.Audio.prototype); +GameLib.D3.Audio.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Audio.prototype.constructor = GameLib.D3.Audio; /** diff --git a/src/game-lib-d3-bone-weight.js b/src/game-lib-d3-bone-weight.js index e001e48..d0e154e 100644 --- a/src/game-lib-d3-bone-weight.js +++ b/src/game-lib-d3-bone-weight.js @@ -26,7 +26,7 @@ GameLib.D3.BoneWeight = function ( ); }; -GameLib.D3.BoneWeight.prototype = Object.create(GameLib.D3.API.BoneWeight.prototype); +GameLib.D3.BoneWeight.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.BoneWeight.prototype.constructor = GameLib.D3.BoneWeight; /** diff --git a/src/game-lib-d3-bone.js b/src/game-lib-d3-bone.js index e3073f7..65b81c8 100644 --- a/src/game-lib-d3-bone.js +++ b/src/game-lib-d3-bone.js @@ -59,7 +59,7 @@ GameLib.D3.Bone = function ( GameLib.Component.call(this); }; -GameLib.D3.Bone.prototype = Object.create(GameLib.D3.API.Bone.prototype); +GameLib.D3.Bone.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Bone.prototype.constructor = GameLib.D3.Bone; diff --git a/src/game-lib-d3-broadphase.js b/src/game-lib-d3-broadphase.js index f662841..0946080 100644 --- a/src/game-lib-d3-broadphase.js +++ b/src/game-lib-d3-broadphase.js @@ -31,7 +31,7 @@ GameLib.D3.Broadphase = function ( GameLib.Component.call(this); }; -GameLib.D3.Broadphase.prototype = Object.create(GameLib.D3.API.Broadphase.prototype); +GameLib.D3.Broadphase.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Broadphase.prototype.constructor = GameLib.D3.Broadphase; /** diff --git a/src/game-lib-d3-camera.js b/src/game-lib-d3-camera.js index c82a8ac..95e377f 100644 --- a/src/game-lib-d3-camera.js +++ b/src/game-lib-d3-camera.js @@ -85,7 +85,7 @@ GameLib.D3.Camera = function( } ; -GameLib.D3.Camera.prototype = Object.create(GameLib.D3.API.Camera.prototype); +GameLib.D3.Camera.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Camera.prototype.constructor = GameLib.D3.Camera; GameLib.D3.Camera.CAMERA_TYPE_PERSPECTIVE = 0x1; diff --git a/src/game-lib-d3-composer.js b/src/game-lib-d3-composer.js index f7df6f3..a6e17ee 100644 --- a/src/game-lib-d3-composer.js +++ b/src/game-lib-d3-composer.js @@ -40,7 +40,7 @@ GameLib.D3.Composer = function ( ); }; -GameLib.D3.Composer.prototype = Object.create(GameLib.D3.API.Composer.prototype); +GameLib.D3.Composer.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Composer.prototype.constructor = GameLib.D3.Composer; /** diff --git a/src/game-lib-d3-face.js b/src/game-lib-d3-face.js index e03d936..b935e67 100644 --- a/src/game-lib-d3-face.js +++ b/src/game-lib-d3-face.js @@ -124,7 +124,7 @@ GameLib.D3.Face = function Face( }; -GameLib.D3.Face.prototype = Object.create(GameLib.D3.API.Face.prototype); +GameLib.D3.Face.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Face.prototype.constructor = GameLib.D3.Face; GameLib.D3.Face.prototype.createInstance = function() { diff --git a/src/game-lib-d3-fog.js b/src/game-lib-d3-fog.js index cfd0c5f..f81593b 100644 --- a/src/game-lib-d3-fog.js +++ b/src/game-lib-d3-fog.js @@ -41,7 +41,7 @@ GameLib.D3.Fog = function ( GameLib.Component.call(this); }; -GameLib.D3.Fog.prototype = Object.create(GameLib.D3.API.Fog.prototype); +GameLib.D3.Fog.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Fog.prototype.constructor = GameLib.D3.Fog; /** diff --git a/src/game-lib-d3-font.js b/src/game-lib-d3-font.js index abf57cc..9cc4adf 100644 --- a/src/game-lib-d3-font.js +++ b/src/game-lib-d3-font.js @@ -30,7 +30,7 @@ GameLib.D3.Font = function( GameLib.Component.call(this); }; -GameLib.D3.Font.prototype = Object.create(GameLib.D3.API.Font.prototype); +GameLib.D3.Font.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Font.prototype.constructor = GameLib.D3.Font; /** diff --git a/src/game-lib-d3-friction-contact-material.js b/src/game-lib-d3-friction-contact-material.js index 3cf9a57..b41bb4e 100644 --- a/src/game-lib-d3-friction-contact-material.js +++ b/src/game-lib-d3-friction-contact-material.js @@ -42,7 +42,7 @@ GameLib.D3.FrictionContactMaterial = function ( ); }; -GameLib.D3.FrictionContactMaterial.prototype = Object.create(GameLib.D3.API.FrictionContactMaterial.prototype); +GameLib.D3.FrictionContactMaterial.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.FrictionContactMaterial.prototype.constructor = GameLib.D3.FrictionContactMaterial; /** diff --git a/src/game-lib-d3-friction-material.js b/src/game-lib-d3-friction-material.js index d5e19f7..4ef12ab 100644 --- a/src/game-lib-d3-friction-material.js +++ b/src/game-lib-d3-friction-material.js @@ -32,7 +32,7 @@ GameLib.D3.FrictionMaterial = function ( GameLib.Component.call(this); }; -GameLib.D3.FrictionMaterial.prototype = Object.create(GameLib.D3.API.FrictionMaterial.prototype); +GameLib.D3.FrictionMaterial.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.FrictionMaterial.prototype.constructor = GameLib.D3.FrictionMaterial; /** diff --git a/src/game-lib-d3-light.js b/src/game-lib-d3-light.js index 719b125..88fa167 100644 --- a/src/game-lib-d3-light.js +++ b/src/game-lib-d3-light.js @@ -84,7 +84,7 @@ GameLib.D3.Light = function( ); }; -GameLib.D3.Light.prototype = Object.create(GameLib.D3.API.Light.prototype); +GameLib.D3.Light.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Light.prototype.constructor = GameLib.D3.Light; /** diff --git a/src/game-lib-d3-material.js b/src/game-lib-d3-material.js index 9ae47a7..ee78b90 100644 --- a/src/game-lib-d3-material.js +++ b/src/game-lib-d3-material.js @@ -240,7 +240,7 @@ GameLib.D3.Material = function( ); }; -GameLib.D3.Material.prototype = Object.create(GameLib.D3.API.Material.prototype); +GameLib.D3.Material.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Material.prototype.constructor = GameLib.D3.Material; /** diff --git a/src/game-lib-d3-mesh-0.js b/src/game-lib-d3-mesh-0.js index b9dbbb5..1e43a71 100644 --- a/src/game-lib-d3-mesh-0.js +++ b/src/game-lib-d3-mesh-0.js @@ -160,7 +160,7 @@ GameLib.D3.Mesh = function ( ); }; -GameLib.D3.Mesh.prototype = Object.create(GameLib.D3.API.Mesh.prototype); +GameLib.D3.Mesh.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Mesh.prototype.constructor = GameLib.D3.Mesh; GameLib.D3.Mesh.prototype.lookAt = function(vector) { diff --git a/src/game-lib-d3-particle-engine.js b/src/game-lib-d3-particle-engine.js index a2fdcdb..4669fb4 100644 --- a/src/game-lib-d3-particle-engine.js +++ b/src/game-lib-d3-particle-engine.js @@ -86,7 +86,7 @@ GameLib.D3.ParticleEngine = function( }; -GameLib.D3.ParticleEngine.prototype = Object.create(GameLib.D3.API.ParticleEngine.prototype); +GameLib.D3.ParticleEngine.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.ParticleEngine.prototype.constructor = GameLib.D3.ParticleEngine; /** diff --git a/src/game-lib-d3-particle.js b/src/game-lib-d3-particle.js index 82e8656..958345d 100644 --- a/src/game-lib-d3-particle.js +++ b/src/game-lib-d3-particle.js @@ -108,7 +108,7 @@ GameLib.D3.Particle = function( }; -GameLib.D3.Particle.prototype = Object.create(GameLib.D3.API.Particle.prototype); +GameLib.D3.Particle.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Particle.prototype.constructor = GameLib.D3.Particle; GameLib.D3.Particle.OPACITY_TYPE_CONSTANT = 0x1; diff --git a/src/game-lib-d3-pass.js b/src/game-lib-d3-pass.js index ea1dd0e..aa911c5 100644 --- a/src/game-lib-d3-pass.js +++ b/src/game-lib-d3-pass.js @@ -40,7 +40,7 @@ GameLib.D3.Pass = function ( ); }; -GameLib.D3.Pass.prototype = Object.create(GameLib.D3.API.Pass.prototype); +GameLib.D3.Pass.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Pass.prototype.constructor = GameLib.D3.Pass; GameLib.D3.Pass.PASS_TYPE_RENDER = 0x1; diff --git a/src/game-lib-d3-physics-world.js b/src/game-lib-d3-physics-world.js index 5125e5f..3c8f246 100644 --- a/src/game-lib-d3-physics-world.js +++ b/src/game-lib-d3-physics-world.js @@ -99,7 +99,7 @@ GameLib.D3.PhysicsWorld = function( ); }; -GameLib.D3.PhysicsWorld.prototype = Object.create(GameLib.D3.API.PhysicsWorld.prototype); +GameLib.D3.PhysicsWorld.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.PhysicsWorld.prototype.constructor = GameLib.D3.PhysicsWorld; /** diff --git a/src/game-lib-d3-raycast-vehicle.js b/src/game-lib-d3-raycast-vehicle.js index bbc5522..9b31222 100644 --- a/src/game-lib-d3-raycast-vehicle.js +++ b/src/game-lib-d3-raycast-vehicle.js @@ -71,7 +71,7 @@ GameLib.D3.RaycastVehicle = function ( ); }; -GameLib.D3.RaycastVehicle.prototype = Object.create(GameLib.D3.API.RaycastVehicle.prototype); +GameLib.D3.RaycastVehicle.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.RaycastVehicle.prototype.constructor = GameLib.D3.RaycastVehicle; /** diff --git a/src/game-lib-d3-raycast-wheel.js b/src/game-lib-d3-raycast-wheel.js index 23accc3..c3170bf 100644 --- a/src/game-lib-d3-raycast-wheel.js +++ b/src/game-lib-d3-raycast-wheel.js @@ -68,7 +68,7 @@ GameLib.D3.RaycastWheel = function ( ); }; -GameLib.D3.RaycastWheel.prototype = Object.create(GameLib.D3.API.RaycastWheel.prototype); +GameLib.D3.RaycastWheel.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.RaycastWheel.prototype.constructor = GameLib.D3.RaycastWheel; /** diff --git a/src/game-lib-d3-raycaster.js b/src/game-lib-d3-raycaster.js index 8b26fdb..099286c 100644 --- a/src/game-lib-d3-raycaster.js +++ b/src/game-lib-d3-raycaster.js @@ -43,7 +43,7 @@ GameLib.D3.Raycaster = function( GameLib.Component.call(this); }; -GameLib.D3.Raycaster.prototype = Object.create(GameLib.D3.API.Raycaster.prototype); +GameLib.D3.Raycaster.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Raycaster.prototype.constructor = GameLib.D3.Raycaster; /** diff --git a/src/game-lib-d3-render-target.js b/src/game-lib-d3-render-target.js index 3b1326f..7e4b23e 100644 --- a/src/game-lib-d3-render-target.js +++ b/src/game-lib-d3-render-target.js @@ -38,7 +38,7 @@ GameLib.D3.RenderTarget = function ( ); }; -GameLib.D3.RenderTarget.prototype = Object.create(GameLib.D3.API.RenderTarget.prototype); +GameLib.D3.RenderTarget.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.RenderTarget.prototype.constructor = GameLib.D3.RenderTarget; /** diff --git a/src/game-lib-d3-renderer.js b/src/game-lib-d3-renderer.js index ae381f8..89794e6 100644 --- a/src/game-lib-d3-renderer.js +++ b/src/game-lib-d3-renderer.js @@ -148,7 +148,7 @@ if (this.canvas instanceof GameLib.API.Canvas) { }; -GameLib.D3.Renderer.prototype = Object.create(GameLib.D3.API.Renderer.prototype); +GameLib.D3.Renderer.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Renderer.prototype.constructor = GameLib.D3.Renderer; /** diff --git a/src/game-lib-d3-rigid-body.js b/src/game-lib-d3-rigid-body.js index 9c51919..a3a38cf 100644 --- a/src/game-lib-d3-rigid-body.js +++ b/src/game-lib-d3-rigid-body.js @@ -87,7 +87,7 @@ GameLib.D3.RigidBody = function ( ); }; -GameLib.D3.RigidBody.prototype = Object.create(GameLib.D3.API.RigidBody.prototype); +GameLib.D3.RigidBody.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.RigidBody.prototype.constructor = GameLib.D3.RigidBody; /** diff --git a/src/game-lib-d3-scene.js b/src/game-lib-d3-scene.js index 4ccd748..fe35f4c 100644 --- a/src/game-lib-d3-scene.js +++ b/src/game-lib-d3-scene.js @@ -179,7 +179,7 @@ GameLib.D3.Scene = function ( ); }; -GameLib.D3.Scene.prototype = Object.create(GameLib.D3.API.Scene.prototype); +GameLib.D3.Scene.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Scene.prototype.constructor = GameLib.D3.Scene; /** diff --git a/src/game-lib-d3-shape-0.js b/src/game-lib-d3-shape-0.js index baf55be..275756f 100644 --- a/src/game-lib-d3-shape-0.js +++ b/src/game-lib-d3-shape-0.js @@ -44,7 +44,7 @@ GameLib.D3.Shape = function ( ); }; -GameLib.D3.Shape.prototype = Object.create(GameLib.D3.API.Shape.prototype); +GameLib.D3.Shape.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Shape.prototype.constructor = GameLib.D3.Shape; diff --git a/src/game-lib-d3-skeleton.js b/src/game-lib-d3-skeleton.js index e64c846..669c6d4 100644 --- a/src/game-lib-d3-skeleton.js +++ b/src/game-lib-d3-skeleton.js @@ -90,7 +90,7 @@ GameLib.D3.Skeleton = function Skeleton( ); }; -GameLib.D3.Skeleton.prototype = Object.create(GameLib.D3.API.Skeleton.prototype); +GameLib.D3.Skeleton.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Skeleton.prototype.constructor = GameLib.D3.Skeleton; diff --git a/src/game-lib-d3-solver.js b/src/game-lib-d3-solver.js index 7763f6b..21f3cab 100644 --- a/src/game-lib-d3-solver.js +++ b/src/game-lib-d3-solver.js @@ -33,7 +33,7 @@ GameLib.D3.Solver = function ( GameLib.Component.call(this); }; -GameLib.D3.Solver.prototype = Object.create(GameLib.D3.API.Solver.prototype); +GameLib.D3.Solver.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Solver.prototype.constructor = GameLib.D3.Solver; /** diff --git a/src/game-lib-d3-spline.js b/src/game-lib-d3-spline.js index 4a71e83..060d0bf 100644 --- a/src/game-lib-d3-spline.js +++ b/src/game-lib-d3-spline.js @@ -40,7 +40,7 @@ GameLib.D3.Spline = function ( GameLib.Component.call(this); }; -GameLib.D3.Spline.prototype = Object.create(GameLib.D3.API.Spline.prototype); +GameLib.D3.Spline.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Spline.prototype.constructor = GameLib.D3.Spline; /** diff --git a/src/game-lib-d3-texture.js b/src/game-lib-d3-texture.js index 975acba..913d7bb 100644 --- a/src/game-lib-d3-texture.js +++ b/src/game-lib-d3-texture.js @@ -100,7 +100,7 @@ GameLib.D3.Texture = function( ); }; -GameLib.D3.Texture.prototype = Object.create(GameLib.D3.API.Texture.prototype); +GameLib.D3.Texture.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Texture.prototype.constructor = GameLib.D3.Texture; /** diff --git a/src/game-lib-d3-vertex.js b/src/game-lib-d3-vertex.js index 8553bad..31422bb 100644 --- a/src/game-lib-d3-vertex.js +++ b/src/game-lib-d3-vertex.js @@ -49,7 +49,7 @@ GameLib.D3.Vertex = function Vertex( } }; -GameLib.D3.Vertex.prototype = Object.create(GameLib.D3.API.Vertex.prototype); +GameLib.D3.Vertex.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Vertex.prototype.constructor = GameLib.D3.Vertex; /** diff --git a/src/game-lib-d3-viewport.js b/src/game-lib-d3-viewport.js index 73480e0..7800719 100644 --- a/src/game-lib-d3-viewport.js +++ b/src/game-lib-d3-viewport.js @@ -34,7 +34,7 @@ GameLib.D3.Viewport = function ( GameLib.Component.call(this); }; -GameLib.D3.Viewport.prototype = Object.create(GameLib.D3.API.Viewport.prototype); +GameLib.D3.Viewport.prototype = Object.create(GameLib.Component.prototype); GameLib.D3.Viewport.prototype.constructor = GameLib.D3.Viewport; /** diff --git a/src/game-lib-dom-element.js b/src/game-lib-dom-element.js index 29fb335..9711406 100644 --- a/src/game-lib-dom-element.js +++ b/src/game-lib-dom-element.js @@ -26,7 +26,7 @@ GameLib.DomElement = function (apiDomElement) { GameLib.Component.call(this); }; -GameLib.DomElement.prototype = Object.create(GameLib.API.DomElement.prototype); +GameLib.DomElement.prototype = Object.create(GameLib.Component.prototype); GameLib.DomElement.prototype.constructor = GameLib.DomElement; /** diff --git a/src/game-lib-entity-manager.js b/src/game-lib-entity-manager.js index d2a9841..3852205 100644 --- a/src/game-lib-entity-manager.js +++ b/src/game-lib-entity-manager.js @@ -56,7 +56,7 @@ GameLib.EntityManager = function(apiEntityManager) { ); }; -GameLib.EntityManager.prototype = Object.create(GameLib.API.EntityManager.prototype); +GameLib.EntityManager.prototype = Object.create(GameLib.Component.prototype); GameLib.EntityManager.prototype.constructor = GameLib.EntityManager; GameLib.EntityManager.prototype.createInstance = function() { diff --git a/src/game-lib-entity.js b/src/game-lib-entity.js index 2037a48..5656796 100644 --- a/src/game-lib-entity.js +++ b/src/game-lib-entity.js @@ -32,7 +32,7 @@ GameLib.Entity = function ( ); }; -GameLib.Entity.prototype = Object.create(GameLib.API.Entity.prototype); +GameLib.Entity.prototype = Object.create(GameLib.Component.prototype); GameLib.Entity.prototype.constructor = GameLib.Entity; /** diff --git a/src/game-lib-image.js b/src/game-lib-image.js index 5719b18..732554e 100644 --- a/src/game-lib-image.js +++ b/src/game-lib-image.js @@ -30,7 +30,7 @@ GameLib.Image = function( GameLib.Component.call(this); }; -GameLib.Image.prototype = Object.create(GameLib.API.Image.prototype); +GameLib.Image.prototype = Object.create(GameLib.Component.prototype); GameLib.Image.prototype.constructor = GameLib.Image; /** diff --git a/src/game-lib-matrix-4.js b/src/game-lib-matrix-4.js index f0e22d9..3eedbe1 100644 --- a/src/game-lib-matrix-4.js +++ b/src/game-lib-matrix-4.js @@ -82,7 +82,7 @@ GameLib.Matrix4 = function( this.createInstance(); }; -GameLib.Matrix4.prototype = Object.create(GameLib.API.Matrix4.prototype); +GameLib.Matrix4.prototype = Object.create(GameLib.Component.prototype); GameLib.Matrix4.prototype.constructor = GameLib.Matrix4; /** diff --git a/src/game-lib-mouse.js b/src/game-lib-mouse.js index 881258f..b332d60 100644 --- a/src/game-lib-mouse.js +++ b/src/game-lib-mouse.js @@ -26,7 +26,7 @@ GameLib.Mouse = function (apiMouse) { GameLib.Component.call(this); }; -GameLib.Mouse.prototype = Object.create(GameLib.API.Mouse.prototype); +GameLib.Mouse.prototype = Object.create(GameLib.Component.prototype); GameLib.Mouse.prototype.constructor = GameLib.Mouse; /** diff --git a/src/game-lib-quaternion.js b/src/game-lib-quaternion.js index e281ddd..9950e00 100644 --- a/src/game-lib-quaternion.js +++ b/src/game-lib-quaternion.js @@ -70,7 +70,7 @@ GameLib.Quaternion = function ( this.createInstance(); }; -GameLib.Quaternion.prototype = Object.create(GameLib.API.Quaternion.prototype); +GameLib.Quaternion.prototype = Object.create(GameLib.Component.prototype); GameLib.Quaternion.prototype.constructor = GameLib.Quaternion; /** diff --git a/src/game-lib-server.js b/src/game-lib-server.js index b85f3b1..f5fec32 100644 --- a/src/game-lib-server.js +++ b/src/game-lib-server.js @@ -31,7 +31,7 @@ GameLib.Server = function( GameLib.Component.call(this); }; -GameLib.Server.prototype = Object.create(GameLib.API.Server.prototype); +GameLib.Server.prototype = Object.create(GameLib.Component.prototype); GameLib.Server.prototype.constructor = GameLib.Server; GameLib.Server.prototype.createInstance = function() { diff --git a/src/game-lib-socket-0.js b/src/game-lib-socket-0.js index 1e28cca..75368cd 100644 --- a/src/game-lib-socket-0.js +++ b/src/game-lib-socket-0.js @@ -56,7 +56,7 @@ GameLib.Socket = function( }; -GameLib.Socket.prototype = Object.create(GameLib.API.Socket.prototype); +GameLib.Socket.prototype = Object.create(GameLib.Component.prototype); GameLib.Socket.prototype.constructor = GameLib.Socket; GameLib.Socket.prototype.createInstance = function() { diff --git a/src/game-lib-system-0.js b/src/game-lib-system-0.js index ce65f09..46b9d69 100644 --- a/src/game-lib-system-0.js +++ b/src/game-lib-system-0.js @@ -47,7 +47,7 @@ GameLib.System = function( }; -GameLib.System.prototype = Object.create(GameLib.API.System.prototype); +GameLib.System.prototype = Object.create(GameLib.Component.prototype); GameLib.System.prototype.constructor = GameLib.System; GameLib.System.SYSTEM_TYPE_NONE = 0x0; diff --git a/src/game-lib-vector2.js b/src/game-lib-vector2.js index 9acb8ab..065acd1 100644 --- a/src/game-lib-vector2.js +++ b/src/game-lib-vector2.js @@ -43,7 +43,7 @@ GameLib.Vector2 = function ( this.createInstance(); }; -GameLib.Vector2.prototype = Object.create(GameLib.API.Vector2.prototype); +GameLib.Vector2.prototype = Object.create(GameLib.Component.prototype); GameLib.Vector2.prototype.constructor = GameLib.Vector2; diff --git a/src/game-lib-vector3.js b/src/game-lib-vector3.js index 960eb54..e539b13 100644 --- a/src/game-lib-vector3.js +++ b/src/game-lib-vector3.js @@ -55,7 +55,7 @@ GameLib.Vector3 = function ( this.createInstance(); }; -GameLib.Vector3.prototype = Object.create(GameLib.API.Vector3.prototype); +GameLib.Vector3.prototype = Object.create(GameLib.Component.prototype); GameLib.Vector3.prototype.constructor = GameLib.Vector3; /** diff --git a/src/game-lib-vector4.js b/src/game-lib-vector4.js index fc56d5f..45066c6 100644 --- a/src/game-lib-vector4.js +++ b/src/game-lib-vector4.js @@ -45,7 +45,7 @@ GameLib.Vector4 = function ( this.createInstance(); }; -GameLib.Vector4.prototype = Object.create(GameLib.API.Vector4.prototype); +GameLib.Vector4.prototype = Object.create(GameLib.Component.prototype); GameLib.Vector4.prototype.constructor = GameLib.Vector4; /**