diff options
Diffstat (limited to 'lib/nodes/elastic.js')
| -rw-r--r-- | lib/nodes/elastic.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/nodes/elastic.js b/lib/nodes/elastic.js new file mode 100644 index 0000000..090a6a7 --- /dev/null +++ b/lib/nodes/elastic.js @@ -0,0 +1,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 +}; + |