1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-16 07:59:43 +01:00
VVVVVV/mobile_version/src/platformclass.as
2020-01-08 10:37:50 -05:00

25 lines
No EOL
588 B
ActionScript

//Non gamecenter/steam platform specific specific code belongs here
package {
//import com.sticksports.nativeExtensions.SilentSwitch;
import flash.events.*;
import flash.media.SoundMixer;
import flash.media.AudioPlaybackMode;
public class platformclass {
public function init():void {
//SilentSwitch.apply();
SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;
}
public function callonwake():void {
//SilentSwitch.apply();
wakeupcall = 1;
}
public function callonsleep():void {
}
public var wakeupcall:int;
}
}