]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/renderable_couple.js
Add Naive Game Rules (#11)
[rbdr/sumo] / lib / nodes / renderable_couple.js
1 import { Node } from '@serpentity/serpentity';
2
3 import CoupledEntitiesComponent from '../components/coupled_entities';
4 import PixiContainerComponent from '../components/pixi_container';
5
6 /**
7 * Node identifying an entity that has coupled entities and can be
8 * rendered
9 *
10 * @extends {external:Serpentity.Node}
11 * @class RenderableCoupleNode
12 */
13 export default class RenderableCoupleNode extends Node {
14
15 };
16
17 /**
18 * Holds the types that are used to identify a renderable couple
19 *
20 * @property {object} types
21 * @name types
22 * @memberof RenderableCoupleNode
23 */
24 RenderableCoupleNode.types = {
25 coupledEntities: CoupledEntitiesComponent,
26 container: PixiContainerComponent
27 };
28