]> git.r.bdr.sh - rbdr/sumo/blame - lib/nodes/elastic.js
Add control via keyboard (#6)
[rbdr/sumo] / lib / nodes / elastic.js
CommitLineData
7ade6f8d
RBR
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4import ElasticComponent from '../components/elastic';
5
6/**
7 * Node identifying an entity that is an elastic physical body
8 *
9 * @extends {external:Serpentity.Node}
10 * @class ElasticNode
11 */
12export default class ElasticNode extends Node {
13
14};
15
16/**
17 * Holds the types that are used to identify an elastic entity
18 *
19 * @property {object} types
20 * @name types
21 * @memberof ElasticNode
22 */
23ElasticNode.types = {
24 body: BodyComponent,
25 elastic: ElasticComponent
26};
27