]>
git.r.bdr.sh - rbdr/sumo/blob - lib/components/winner.js
1045578414416d3c5a443493816455f1245d417d
1 import { Component
} from '@serpentity/serpentity';
4 * Component that stores a winner
6 * @extends {external:Serpentity.Component}
7 * @class WinnerComponent
8 * @param {object} config a configuration object to extend.
10 export default class WinnerComponent
extends Component
{
16 * The properthy that holds the winner
18 * @property {string} winner
20 * @memberof WionnerComponent
22 this.winner
= this.winner
|| null;