diff options
author | Thomas Voss <thomasvoss@live.com> | 2022-01-13 00:40:45 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2022-01-13 00:40:45 +0100 |
commit | 783e74876b324244270721deda2df217ea9ba4f6 (patch) | |
tree | f865e45eb37cdd63e3108586d856e56c516ecb23 | |
parent | cac180626f278bbe328783a6db2d1b99a547df13 (diff) |
Fix some signatures
-rw-r--r-- | draughts/game.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/draughts/game.js b/draughts/game.js index aa0bb6c..db9795a 100644 --- a/draughts/game.js +++ b/draughts/game.js @@ -211,7 +211,7 @@ Game.prototype.messageClient = function(msg, ws) { /* * Signature: - * (Nothing) => { x: Number, y: Number, captures: Piece[] }[] + * () => { x: Number, y: Number, captures: Piece[] }[] * * Description: * Return all of the moves that can legally be made on the current turn of the game. The format @@ -253,7 +253,7 @@ Game.prototype.legalMoves = function() { /* * Signature: - * (Nothing) => Nothing + * () => Nothing * * Description: * Initiate the next turn of the game. This is done by swapping the player that the `currentTurn' |