js doc composer for interop with visual paradigm

This commit is contained in:
2024-11-27 09:05:37 +02:00
parent c2245d92b3
commit 54b8941f3c
9 changed files with 186 additions and 30 deletions
+4 -7
View File
@@ -24,7 +24,7 @@ class GamesManager{
/**
* Reads game definition by ID
* @param {Number} id game ID
* @returns {Game}
* @returns {Game} the game
*/
this.read = async function(id){
@@ -50,7 +50,7 @@ class GamesManager{
/**
* Returns a set of games by given criteria
* @param {Query} query criteria
* @returns {Game[]}
* @returns {Game[]} Array of games
*/
this.list = async function(query){
@@ -73,18 +73,15 @@ class GamesManager{
class Game {
/**
* Game name
* @type string
* @type {string}
*/
name = null;
/**
* Game formal description
* @type GameDefinition
* @type {GameDefinition}
*/
definition = {
/**
*
*/
levels:[
{
name: 'Level 1',