aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/drawn_dasher.js
blob: c3e03d1fe549658b7d670eca759329cbe6d0036a (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 DashComponent from '../components/dash';
import PixiContainerComponent from '../components/pixi_container';

/**
 * Node identifying an entity that can dash and is drawn
 *
 * @extends {external:Serpentity.Node}
 * @class DrawnDasherNode
 */
export default class DrawnDasherNode extends Node {

}

/**
 * Holds the types that are used to identify a drawn dasher entity
 *
 * @property {object} types
 * @name types
 * @memberof DrawnDasherNode
 */
DrawnDasherNode.types = {
  container: PixiContainerComponent,
  dash: DashComponent
};