aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/elastic.js
blob: a205836413929ec339cca60a6885df24bb6d0ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Node } from '@serpentity/serpentity';

import BodyComponent from '../components/body';
import ElasticComponent from '../components/elastic';

/**
 * Node identifying an entity that is an elastic physical body
 *
 * @extends {external:Serpentity.Node}
 * @class ElasticNode
 */
export default class ElasticNode extends Node {

}

/**
 * Holds the types that are used to identify an elastic entity
 *
 * @property {object} types
 * @name types
 * @memberof ElasticNode
 */
ElasticNode.types = {
  body: BodyComponent,
  elastic: ElasticComponent
};