From 514d3fe5fb135aed495928a586bfecd96dc86d32 Mon Sep 17 00:00:00 2001 From: Tom Ball Date: Mon, 23 Sep 2019 09:15:52 -0700 Subject: [PATCH] block metadata --- blockstile.ts | 2 +- tileworld.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/blockstile.ts b/blockstile.ts index b1637db..d6442db 100644 --- a/blockstile.ts +++ b/blockstile.ts @@ -61,7 +61,7 @@ namespace TileWorld { * Act on a sprite that is resting on a tile * @param body code to execute */ - //% group="Events" + //% group="Events" color="#0000FF" //% blockId=TWontilestationary block="on %code=colorindexpicker at rest" //% blockAllowMultiple=1 draggableParameters="reporter" export function onTileStationary(code: number, h: (tile: TileSprite) => void) { diff --git a/tileworld.ts b/tileworld.ts index e5431ff..3761143 100644 --- a/tileworld.ts +++ b/tileworld.ts @@ -12,9 +12,6 @@ enum TileDir { Down } -//% weight=1000 color="#442255" icon="\uf45c" -//% groups='["Tiles", "Events", "Logic"]' -//% blockGap=8 namespace TileWorld { // a sprite that moves by tiles, but only in one of four directions