]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/points_collider.js
Use Gitlab Pipelines Instead of Travis CI
[rbdr/sumo] / lib / nodes / points_collider.js
1 import { Node } from '@serpentity/serpentity';
2
3 import BodyComponent from '../components/body';
4 import PointsColliderComponent from '../components/points_collider';
5
6 /**
7 * Node identifying an entity that can identify a collision and give out
8 * points
9 *
10 * @extends {external:Serpentity.Node}
11 * @class PointsColliderNode
12 */
13 export default class PointsColliderNode extends Node {
14
15 };
16
17 /**
18 * Holds the types that are used to identify an entity that can give out
19 * points on collision
20 *
21 * @property {object} types
22 * @name types
23 * @memberof PhysicalWithAttributesNode
24 */
25 PointsColliderNode.types = {
26 body: BodyComponent,
27 pointsCollider: PointsColliderComponent
28 };
29