Crab.sleep()

From 8x9craft
Revision as of 05:24, 10 November 2018 by 8x9student (talk | contribs)
Jump to: navigation, search
function sleep(tick: Number): boolean

Make the crab sleep for a number of ticks (pause program execution).

Parameters:

tick: Number - number of ticks to wait doing nothing. There are 20 ticks in a second.

Returns: true.

Examples

// Sleep for one second
crab.sleep(20);

See also

Navigation menu

Internal error

Jump to: navigation, search
[3fea27e34705a8acbb21d3e8] 2024-03-29 11:07:16: Fatal exception of type "Error"

Navigation menu