]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/points_collider.js
Use Gitlab Pipelines Instead of Travis CI
[rbdr/sumo] / lib / nodes / points_collider.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4import 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 */
13export 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 */
25PointsColliderNode.types = {
26 body: BodyComponent,
27 pointsCollider: PointsColliderComponent
28};
29