Skip to content

Commit

Permalink
rm AudioPlayer and SoundPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarf committed Jun 21, 2018
1 parent 238d489 commit f46ee27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 249 deletions.
9 changes: 3 additions & 6 deletions src/AudioEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const log = require('./log');
const uid = require('./uid');

const ADPCMSoundDecoder = require('./ADPCMSoundDecoder');
const AudioPlayer = require('./AudioPlayer');
const Loudness = require('./Loudness');
const SoundPlayer = require('./GreenPlayer');

Expand Down Expand Up @@ -234,13 +233,11 @@ class AudioEngine {
}

/**
* Create an AudioPlayer. Each sprite or clone has an AudioPlayer.
* It includes a reference to the AudioEngine so it can use global
* functionality such as playing notes.
* @return {AudioPlayer} new AudioPlayer instance
* Deprecated way to create an AudioPlayer
* @todo remove this
*/
createPlayer () {
return new AudioPlayer(this);
log.warn('the createPlayer method is no longer available, please use createBank');
}


Expand Down
152 changes: 0 additions & 152 deletions src/AudioPlayer.js

This file was deleted.

91 changes: 0 additions & 91 deletions src/SoundPlayer.js

This file was deleted.

0 comments on commit f46ee27

Please sign in to comment.