]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/winner.js
8c5a448d46f12f40d9d19edb8d7a12419d6e6353
[rbdr/sumo] / lib / nodes / winner.js
1 import { Node } from '@serpentity/serpentity';
2
3 import WinnerComponent from '../components/winner';
4
5 /**
6 * Node identifying an entity that stores winner
7 *
8 * @extends {external:Serpentity.Node}
9 * @class WinnerNode
10 */
11 export default class WinnerNode extends Node {
12
13 };
14
15 /**
16 * Holds the types that are used to identify a winner keeping entity
17 *
18 * @property {object} types
19 * @name types
20 * @memberof WinnerNode
21 */
22 WinnerNode.types = {
23 winner: WinnerComponent
24 };