From a29e06abce8b73f66e01baac60bbc5eebf97c09e Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 21 Jul 2016 11:06:02 -0700 Subject: [PATCH] removing dangling file --- docs/reference/game/misc.txt | 54 ------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 docs/reference/game/misc.txt diff --git a/docs/reference/game/misc.txt b/docs/reference/game/misc.txt deleted file mode 100644 index e32154ef..00000000 --- a/docs/reference/game/misc.txt +++ /dev/null @@ -1,54 +0,0 @@ - -### Score - -When a player achieves a goal, you can increase the game score - -* add score points to the current score - -``` -export function addScore(points: number) -``` - -* get the current score value - -``` -export function score() : number -``` - - -### Score - -When a player achieves a goal, you can increase the game score - -* add score points to the current score - -``` -export function addScore(points: number) -``` - -* set the current score to a particular value. - -``` -export function setScore(value: number) -``` - -* get the current score value - -``` -export function score() : number - - - -``` - -### Countdown - -If your game has a time limit, you can start a countdown in which case `game->current time` returns the remaining time. - -* start a countdown with the maximum duration of the game in milliseconds. - -``` -export function startCountdown(ms: number) -``` - -