]>
Commit | Line | Data |
---|---|---|
3100e053 RBR |
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 | }; |