diff options
Diffstat (limited to 'lib/nodes/drawn_dasher.js')
| -rw-r--r-- | lib/nodes/drawn_dasher.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/nodes/drawn_dasher.js b/lib/nodes/drawn_dasher.js new file mode 100644 index 0000000..162593f --- /dev/null +++ b/lib/nodes/drawn_dasher.js @@ -0,0 +1,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 +}; + |