]>
git.r.bdr.sh - rbdr/sumo/blob - lib/components/winner.js
74de1c831c335d57d99fb375d4ff8ccfe29b2667
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;