mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
19 lines
335 B
TypeScript
19 lines
335 B
TypeScript
// Copyright (c) 2016 Brandon Thomas <bt@brand.io, echelon@gmail.com>
|
|
|
|
declare module "buzz" {
|
|
|
|
/** CTOR */
|
|
interface SoundStatic {
|
|
new(url: any): Sound;
|
|
}
|
|
|
|
/** Sound class */
|
|
interface Sound {
|
|
bind(events: string, callback: () => void): any;
|
|
play(): any;
|
|
stop(): any;
|
|
}
|
|
|
|
export var sound: SoundStatic;
|
|
}
|