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

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