]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/grabbable.js
Update dependencies
[rbdr/sumo] / lib / nodes / grabbable.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4import GrabbableComponent from '../components/grabbable';
5
6/**
7 * Node identifying an entity that can grab another
8 *
9 * @extends {external:Serpentity.Node}
10 * @class GrabbableNode
11 */
12export default class GrabbableNode extends Node {
13
14}
15
16/**
17 * Holds the types that are used to identify a grabbable entity
18 *
19 * @property {object} types
20 * @name types
21 * @memberof GrabbableNode
22 */
23GrabbableNode.types = {
24 body: BodyComponent,
25 grabbable: GrabbableComponent
26};
27