]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/drawn_grabber.js
Deploy to Pages
[rbdr/sumo] / lib / nodes / drawn_grabber.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import GrabComponent from '../components/grab';
4import 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 */
12export 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 */
23DrawnGrabberNode.types = {
24 container: PixiContainerComponent,
25 grab: GrabComponent
26};
27