1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00
VVVVVV/mobile_version/src/platformclass.as
2020-01-08 10:37:50 -05:00

25 lines
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;
}
}