aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-03-09 15:02:35 -0500
committerBen Beltran <ben@nsovocal.com>2020-03-09 15:02:35 -0500
commit7741a3cc37662ab2ff9606bdaffc0317b79a8dd9 (patch)
tree1bee45d2821debe3c6e7e2ab40250218d251097a /lib/nodes
parentbb8d5ef47baf7ad16a1bc58526f81ce332b090d6 (diff)
Use new lib componentsHEADmain
Diffstat (limited to 'lib/nodes')
-rw-r--r--lib/nodes/controllable.js2
-rw-r--r--lib/nodes/dasher.js4
-rw-r--r--lib/nodes/drawn_dasher.js2
-rw-r--r--lib/nodes/drawn_grabber.js2
-rw-r--r--lib/nodes/elastic.js2
-rw-r--r--lib/nodes/grab_area.js2
-rw-r--r--lib/nodes/grabbable.js2
-rw-r--r--lib/nodes/grabber.js2
-rw-r--r--lib/nodes/limited_velocity.js2
-rw-r--r--lib/nodes/physical.js2
-rw-r--r--lib/nodes/physical_with_attributes.js4
-rw-r--r--lib/nodes/physical_with_external_force.js4
-rw-r--r--lib/nodes/points.js2
-rw-r--r--lib/nodes/points_collider.js2
-rw-r--r--lib/nodes/renderable.js2
-rw-r--r--lib/nodes/renderable_couple.js2
-rw-r--r--lib/nodes/renderable_with_attributes.js4
-rw-r--r--lib/nodes/winner.js2
18 files changed, 22 insertions, 22 deletions
diff --git a/lib/nodes/controllable.js b/lib/nodes/controllable.js
index bb6f3b3..e2ec8a6 100644
--- a/lib/nodes/controllable.js
+++ b/lib/nodes/controllable.js
@@ -10,7 +10,7 @@ import ControlMapComponent from '../components/control_map';
*/
export default class ControllableNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a controllable entity
diff --git a/lib/nodes/dasher.js b/lib/nodes/dasher.js
index 9662c68..b4a279d 100644
--- a/lib/nodes/dasher.js
+++ b/lib/nodes/dasher.js
@@ -2,7 +2,7 @@ import { Node } from '@serpentity/serpentity';
import BodyComponent from '../components/body';
import DashComponent from '../components/dash';
-import ForceComponent from '../components/force';
+import ForceComponent from '@serpentity/components.force';
/**
* Node identifying an entity that has a control mapping
@@ -12,7 +12,7 @@ import ForceComponent from '../components/force';
*/
export default class DasherNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a dasher entity
diff --git a/lib/nodes/drawn_dasher.js b/lib/nodes/drawn_dasher.js
index 162593f..c3e03d1 100644
--- a/lib/nodes/drawn_dasher.js
+++ b/lib/nodes/drawn_dasher.js
@@ -11,7 +11,7 @@ import PixiContainerComponent from '../components/pixi_container';
*/
export default class DrawnDasherNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a drawn dasher entity
diff --git a/lib/nodes/drawn_grabber.js b/lib/nodes/drawn_grabber.js
index 49af6d4..6508681 100644
--- a/lib/nodes/drawn_grabber.js
+++ b/lib/nodes/drawn_grabber.js
@@ -11,7 +11,7 @@ import PixiContainerComponent from '../components/pixi_container';
*/
export default class DrawnGrabberNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a drawn grabber entity
diff --git a/lib/nodes/elastic.js b/lib/nodes/elastic.js
index 090a6a7..a205836 100644
--- a/lib/nodes/elastic.js
+++ b/lib/nodes/elastic.js
@@ -11,7 +11,7 @@ import ElasticComponent from '../components/elastic';
*/
export default class ElasticNode extends Node {
-};
+}
/**
* Holds the types that are used to identify an elastic entity
diff --git a/lib/nodes/grab_area.js b/lib/nodes/grab_area.js
index 9f6c3e0..eaee271 100644
--- a/lib/nodes/grab_area.js
+++ b/lib/nodes/grab_area.js
@@ -10,7 +10,7 @@ import GrabAreaComponent from '../components/grab_area';
*/
export default class GrabAreaNode extends Node {
-};
+}
/**
* Holds the types that are used to identify an entity with a grab
diff --git a/lib/nodes/grabbable.js b/lib/nodes/grabbable.js
index 4711764..fae7326 100644
--- a/lib/nodes/grabbable.js
+++ b/lib/nodes/grabbable.js
@@ -11,7 +11,7 @@ import GrabbableComponent from '../components/grabbable';
*/
export default class GrabbableNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a grabbable entity
diff --git a/lib/nodes/grabber.js b/lib/nodes/grabber.js
index db61365..216f9aa 100644
--- a/lib/nodes/grabber.js
+++ b/lib/nodes/grabber.js
@@ -12,7 +12,7 @@ import GrabComponent from '../components/grab';
*/
export default class GrabberNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a grabber entity
diff --git a/lib/nodes/limited_velocity.js b/lib/nodes/limited_velocity.js
index 554f68c..fc9f336 100644
--- a/lib/nodes/limited_velocity.js
+++ b/lib/nodes/limited_velocity.js
@@ -11,7 +11,7 @@ import MaxVelocityComponent from '../components/max_velocity';
*/
export default class LimitedVelocityNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a limited velocity entity
diff --git a/lib/nodes/physical.js b/lib/nodes/physical.js
index 77139ec..ff4dd00 100644
--- a/lib/nodes/physical.js
+++ b/lib/nodes/physical.js
@@ -10,7 +10,7 @@ import BodyComponent from '../components/body';
*/
export default class PhysicalNode extends Node {
-};
+}
/**
* Holds the types that are used to identify an entity with a physical
diff --git a/lib/nodes/physical_with_attributes.js b/lib/nodes/physical_with_attributes.js
index 96ba79d..4b92748 100644
--- a/lib/nodes/physical_with_attributes.js
+++ b/lib/nodes/physical_with_attributes.js
@@ -1,6 +1,6 @@
import { Node } from '@serpentity/serpentity';
-import AngleComponent from '../components/angle';
+import AngleComponent from '@serpentity/components.angle';
import BodyComponent from '../components/body';
import PositionComponent from '@serpentity/components.position';
@@ -13,7 +13,7 @@ import PositionComponent from '@serpentity/components.position';
*/
export default class PhysicalWithAttributesNode extends Node {
-};
+}
/**
* Holds the types that are used to identify an entity with a physics
diff --git a/lib/nodes/physical_with_external_force.js b/lib/nodes/physical_with_external_force.js
index 32695c7..5a9e118 100644
--- a/lib/nodes/physical_with_external_force.js
+++ b/lib/nodes/physical_with_external_force.js
@@ -1,7 +1,7 @@
import { Node } from '@serpentity/serpentity';
import BodyComponent from '../components/body';
-import ForceComponent from '../components/force';
+import ForceComponent from '@serpentity/components.force';
/**
* Node identifying an entity that has externally applied force
@@ -11,7 +11,7 @@ import ForceComponent from '../components/force';
*/
export default class PhysicalWithExternalForceNode extends Node {
-};
+}
/**
* Holds the types that are used to identify an entity with a physical
diff --git a/lib/nodes/points.js b/lib/nodes/points.js
index 40404b4..38a7712 100644
--- a/lib/nodes/points.js
+++ b/lib/nodes/points.js
@@ -10,7 +10,7 @@ import PointsComponent from '../components/points';
*/
export default class PointsNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a points keeping entity
diff --git a/lib/nodes/points_collider.js b/lib/nodes/points_collider.js
index 4b8fe92..a9d4584 100644
--- a/lib/nodes/points_collider.js
+++ b/lib/nodes/points_collider.js
@@ -12,7 +12,7 @@ import PointsColliderComponent from '../components/points_collider';
*/
export default class PointsColliderNode extends Node {
-};
+}
/**
* Holds the types that are used to identify an entity that can give out
diff --git a/lib/nodes/renderable.js b/lib/nodes/renderable.js
index 12227a3..5cf0fad 100644
--- a/lib/nodes/renderable.js
+++ b/lib/nodes/renderable.js
@@ -10,7 +10,7 @@ import PixiContainerComponent from '../components/pixi_container';
*/
export default class RenderableNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a renderable entity
diff --git a/lib/nodes/renderable_couple.js b/lib/nodes/renderable_couple.js
index 39ab886..ffe568d 100644
--- a/lib/nodes/renderable_couple.js
+++ b/lib/nodes/renderable_couple.js
@@ -12,7 +12,7 @@ import PixiContainerComponent from '../components/pixi_container';
*/
export default class RenderableCoupleNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a renderable couple
diff --git a/lib/nodes/renderable_with_attributes.js b/lib/nodes/renderable_with_attributes.js
index 817036c..7eff2b9 100644
--- a/lib/nodes/renderable_with_attributes.js
+++ b/lib/nodes/renderable_with_attributes.js
@@ -1,6 +1,6 @@
import { Node } from '@serpentity/serpentity';
-import AngleComponent from '../components/angle';
+import AngleComponent from '@serpentity/components.angle';
import PixiContainerComponent from '../components/pixi_container';
import PositionComponent from '@serpentity/components.position';
@@ -13,7 +13,7 @@ import PositionComponent from '@serpentity/components.position';
*/
export default class RenderableWithAttributesNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a renderable with external
diff --git a/lib/nodes/winner.js b/lib/nodes/winner.js
index 8c5a448..51a3b23 100644
--- a/lib/nodes/winner.js
+++ b/lib/nodes/winner.js
@@ -10,7 +10,7 @@ import WinnerComponent from '../components/winner';
*/
export default class WinnerNode extends Node {
-};
+}
/**
* Holds the types that are used to identify a winner keeping entity