Add music

This commit is contained in:
Michal Moskal
2017-07-07 11:44:34 +01:00
parent 43b167957b
commit 97b6c7dc4b
13 changed files with 166 additions and 5 deletions

18
libs/core/shims.d.ts vendored
View File

@ -1,4 +1,22 @@
// Auto-generated. Do not edit.
declare namespace control {
/**
* Announce that an event happened to registered handlers.
* @param src ID of the Component that generated the event
* @param value Component specific code indicating the cause of the event.
* @param mode optional definition of how the event should be processed after construction.
*/
//% weight=21 blockGap=12 blockId="control_raise_event"
//% block="raise event|from %src|with value value" blockExternalInputs=1 shim=control::raiseEvent
function raiseEvent(src: int32, value: int32): void;
/**
* Allocates the next user notification event
*/
//% help=control/allocate-notify-event shim=control::allocateNotifyEvent
function allocateNotifyEvent(): int32;
}
declare namespace input {
/**