]> git.r.bdr.sh - rbdr/sumo/blame - lib/nodes/winner.js
Use new lib components
[rbdr/sumo] / lib / nodes / winner.js
CommitLineData
3100e053
RBR
1import { Node } from '@serpentity/serpentity';
2
3import WinnerComponent from '../components/winner';
4
5/**
6 * Node identifying an entity that stores winner
7 *
8 * @extends {external:Serpentity.Node}
9 * @class WinnerNode
10 */
11export default class WinnerNode extends Node {
12
7741a3cc 13}
3100e053
RBR
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 */
22WinnerNode.types = {
23 winner: WinnerComponent
24};