]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/grab_area.js
Add gamepad support (#10)
[rbdr/sumo] / lib / nodes / grab_area.js
1 import { Node } from '@serpentity/serpentity';
2
3 import GrabAreaComponent from '../components/grab_area';
4
5 /**
6 * Node identifying an entity that have a physical grab area
7 *
8 * @extends {external:Serpentity.Node}
9 * @class GrabAreaNode
10 */
11 export default class GrabAreaNode extends Node {
12
13 };
14
15 /**
16 * Holds the types that are used to identify an entity with a grab
17 * area
18 *
19 * @property {object} types
20 * @name types
21 * @memberof GrabAreaNode
22 */
23 GrabAreaNode.types = {
24 grabArea: GrabAreaComponent
25 };