Fix some titles, sigs in ref docs (#2128)

* Fix some title and sigs in ref docs

* better buffer source
This commit is contained in:
Galen Nickel
2019-06-05 16:28:56 -07:00
committed by GitHub
parent 14418569d1
commit 3f106307ff
16 changed files with 53 additions and 66 deletions

View File

@ -3,15 +3,10 @@
Delete a sprite from the game.
```sig
let item: game.LedSprite = null;
item.delete();
game.createSprite(0,0).delete()
```
### Parameters
* the **sprite** you want to delete from the game
### Example
## Example
This program makes a sprite and shows the number of its brightness on the screen. Then, it deletes the sprite.
@ -21,6 +16,6 @@ basic.showNumber(ball.get(LedSpriteProperty.Brightness));
ball.delete();
```
### See also
## See also
[create sprite](/reference/game/create-sprite)