aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/renderable_couple.js
blob: 39ab88622d9ff1615796b256de1c5deff060ca36 (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
28
import { Node } from '@serpentity/serpentity';

import CoupledEntitiesComponent from '../components/coupled_entities';
import PixiContainerComponent from '../components/pixi_container';

/**
 * Node identifying an entity that has coupled entities and can be
 * rendered
 *
 * @extends {external:Serpentity.Node}
 * @class RenderableCoupleNode
 */
export default class RenderableCoupleNode extends Node {

};

/**
 * Holds the types that are used to identify a renderable couple
 *
 * @property {object} types
 * @name types
 * @memberof RenderableCoupleNode
 */
RenderableCoupleNode.types = {
  coupledEntities: CoupledEntitiesComponent,
  container: PixiContainerComponent
};