1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-29 07:58:30 +02:00
VVVVVV/mobile_version/src/platformclass.as

25 lines
588 B
ActionScript
Raw Normal View History

2020-01-01 21:29:24 +01:00
//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;
}
}