updated docs paths

This commit is contained in:
Peli de Halleux
2016-03-21 22:13:39 -07:00
parent 3d3332faa1
commit 9fbc17c8ce
11 changed files with 96 additions and 97 deletions

View File

@@ -3,7 +3,7 @@ namespace images {
/**
* Creates an image that fits on the LED screen.
*/
//% weight=75
//% weight=75 help=images/create-image
//% blockId=device_build_image block="create image" imageLiteral=1
export function createImage(leds: string): Image {
return null;
@@ -12,7 +12,7 @@ namespace images {
/**
* Creates an image with 2 frames.
*/
//% weight=74
//% weight=74 help=images/create-big-image
//% blockId=device_build_big_image block="create big image" imageLiteral=2
export function createBigImage(leds: string): Image {
return null;
@@ -23,7 +23,7 @@ namespace images {
* Shows an frame from the image at offset ``x offset``.
* @param xOffset TODO
*/
//% help=functions/show-image weight=80 shim=micro_bit::showImage
//% help=images/show-image weight=80 shim=micro_bit::showImage
//% blockId=device_show_image_offset block="show image %sprite|at offset %offset" blockGap=8
public showImage(xOffset: number): void {}
@@ -32,7 +32,7 @@ namespace images {
* @param frameOffset x offset moved on each animation step, eg: 5, 1, -1
* @param interval time between each animation step in milli seconds, eg: 200
*/
//% help=functions/show-image weight=79 shim=micro_bit::scrollImage async
//% help=images/show-image weight=79 shim=micro_bit::scrollImage async
//% blockId=device_scroll_image block="scroll image %sprite|with offset %frameoffset|and interval (ms) %delay" blockGap=8
public scrollImage(frameOffset: number, interval : number = 200) {
}