first commit
This commit is contained in:
14
lib/game/music.dart
Normal file
14
lib/game/music.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
enum SfxKey { click, match, mismatch, win, lose }
|
||||
|
||||
enum BgmKey { bgm }
|
||||
|
||||
class MusicMap {
|
||||
static const String bgm = 'assets/audio/6a7975d3dc974fd522610adfc8b1ce38.mp3';
|
||||
static const Map<SfxKey, String> sfx = {
|
||||
SfxKey.click: 'assets/audio/a8affc088cbca89fa20dbd98c91362e4.mp3',
|
||||
SfxKey.match: 'assets/audio/e3cc92c14a5e6dd1a7d94b6ff634d7fc.mp3',
|
||||
SfxKey.mismatch: 'assets/audio/1d1c5b76da944b44db42c9d0558021c5.mp3',
|
||||
SfxKey.win: 'assets/audio/0b08bd98d279b88859b628cd8c061ae0.mp3',
|
||||
SfxKey.lose: 'assets/audio/f7a2e8166a663d6a5fc86c3ccd320f0b.mp3',
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user