| Index: samples/pop_pop_win/lib/src/canvas/game_audio.dart
|
| diff --git a/samples/pop_pop_win/lib/src/canvas/game_audio.dart b/samples/pop_pop_win/lib/src/canvas/game_audio.dart
|
| deleted file mode 100644
|
| index c4513dfe38cf284d6a41748b1dfb936e8966dba6..0000000000000000000000000000000000000000
|
| --- a/samples/pop_pop_win/lib/src/canvas/game_audio.dart
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -part of pop_pop_win.canvas;
|
| -
|
| -class GameAudio {
|
| - static const String WIN = 'win', CLICK = 'click', POP = 'Pop', FLAG = 'flag',
|
| - UNFLAG = 'unflag', BOMB = 'Bomb', THROW_DART = 'throw';
|
| -
|
| - static final EventHandle<String> _audioEventHandle = new EventHandle<String>();
|
| -
|
| - static Stream<String> get audioEvent => _audioEventHandle.stream;
|
| -
|
| - static void win() => _audioEventHandle.add(WIN);
|
| -
|
| - static void click() => _audioEventHandle.add(CLICK);
|
| -
|
| - static void pop() => _audioEventHandle.add(POP);
|
| -
|
| - static void flag() => _audioEventHandle.add(FLAG);
|
| -
|
| - static void unflag() => _audioEventHandle.add(UNFLAG);
|
| -
|
| - static void bomb() => _audioEventHandle.add(BOMB);
|
| -
|
| - static void throwDart() => _audioEventHandle.add(THROW_DART);
|
| -}
|
|
|