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