public AudioTask(IGameExit gameexit, string id, AudioOpenAl audio) { this.gameexit = gameexit; this.filename = id; this.audio = audio; }
public AudioTask(GameExit gameexit, AudioDataCs sample, AudioOpenAl audio) { this.gameexit = gameexit; this.sample = sample; this.audio = audio; }
public void Start() { w = new ManicDiggerGameWindow(); audio = new AudioOpenAl(); w.audio = audio; MakeGame(true); // Defaults for connectioninfo if (connectinfo == null) { connectinfo = new ServerConnectInfo(); connectinfo.url = "127.0.0.1"; connectinfo.port = 25570; connectinfo.username = "******"; } // Temporary plugin of ServerConnectInfo. Need to come back and clean this up. if (connectinfo.url != null) { w.GameUrl = connectinfo.url + ":" + connectinfo.port; } if (connectinfo.username != null) { w.username = connectinfo.username; } this.exit = w; w.Run(); }
public void Start() { w = new ManicDiggerGameWindow(); audio = new AudioOpenAl(); w.audio = audio; MakeGame(true); w.GameUrl = GameUrl; if (User != null) { w.username = User; } if (Password != null) { w.mppassword = Password; } w.Run(); }
void StartAudio() { if (audio == null) { audio = new AudioOpenAl(); audio.d_GameExit = gameexit; } }