]>
Commit | Line | Data |
---|---|---|
1676911c RBR |
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 | ||
7741a3cc | 13 | } |
1676911c RBR |
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 | }; |