mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Hello WWWWWWorld!
This commit is contained in:
25
mobile_version/src/platformclass.as
Normal file
25
mobile_version/src/platformclass.as
Normal file
@@ -0,0 +1,25 @@
|
||||
//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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user