]>
Commit | Line | Data |
---|---|---|
1 | import { Node } from '@serpentity/serpentity'; | |
2 | ||
3 | import GrabComponent from '../components/grab'; | |
4 | import PixiContainerComponent from '../components/pixi_container'; | |
5 | ||
6 | /** | |
7 | * Node identifying an entity that can grab and is drawn | |
8 | * | |
9 | * @extends {external:Serpentity.Node} | |
10 | * @class DrawnGrabberNode | |
11 | */ | |
12 | export default class DrawnGrabberNode extends Node { | |
13 | ||
14 | }; | |
15 | ||
16 | /** | |
17 | * Holds the types that are used to identify a drawn grabber entity | |
18 | * | |
19 | * @property {object} types | |
20 | * @name types | |
21 | * @memberof DrawnGrabberNode | |
22 | */ | |
23 | DrawnGrabberNode.types = { | |
24 | container: PixiContainerComponent, | |
25 | grab: GrabComponent | |
26 | }; | |
27 |