// Path: src/chu/engine/anim/AudioPlayer.java
// public class AudioPlayer {
// 
// 	static Camera camera;
// 	static float globalGain;
// 
// 	public static void setCamera(Camera c) {
// 		camera = c;
// 		globalGain = 0f;
// 	}
// 
// 	public static void playAudio(String name, float pitch, float gain, float x,
// 			float y, float z, float fade) {
// 		Audio audio = FEResources.getAudio(name);
// 		float cx, cy;
// 		if(camera == null) {
// 			cx = Game.getWindowWidth()/2;
// 			cy = Game.getWindowHeight()/2;
// 		} else {
// 			cx = camera.getX();
// 			cy = camera.getY();
// 		}
// 		audio.playAsSoundEffect(pitch, gain + globalGain, false, 
// 				(x - cx) / fade, (y - cy) / fade, z);
// 	}
// 	
// 	public static void playAudio(String name, float pitch, float gain) {
// 		Audio audio = FEResources.getAudio(name);
// 		audio.playAsSoundEffect(pitch, gain + globalGain, false);
// 	}
// }


import chu.engine.anim.AudioPlayer;

package net.fe.overworldStage;


public abstract class MenuContext<T> extends OverworldContext{
	protected Menu<T> menu;
	public MenuContext(ClientOverworldStage stage, OverworldContext prev, Menu<T> m){

// Path: src/chu/engine/anim/AudioPlayer.java
// public class AudioPlayer {
// 
// 	static Camera camera;
// 	static float globalGain;
// 
// 	public static void setCamera(Camera c) {
// 		camera = c;
// 		globalGain = 0f;
// 	}
// 
// 	public static void playAudio(String name, float pitch, float gain, float x,
// 			float y, float z, float fade) {
// 		Audio audio = FEResources.getAudio(name);
// 		float cx, cy;
// 		if(camera == null) {
// 			cx = Game.getWindowWidth()/2;
// 			cy = Game.getWindowHeight()/2;
// 		} else {
// 			cx = camera.getX();
// 			cy = camera.getY();
// 		}
// 		audio.playAsSoundEffect(pitch, gain + globalGain, false, 
// 				(x - cx) / fade, (y - cy) / fade, z);
// 	}
// 	
// 	public static void playAudio(String name, float pitch, float gain) {
// 		Audio audio = FEResources.getAudio(name);
// 		audio.playAsSoundEffect(pitch, gain + globalGain, false);
// 	}
// }


// Path: src/net/fe/overworldStage/MenuContext.java
import chu.engine.anim.AudioPlayer;

package net.fe.overworldStage;


public abstract class MenuContext<T> extends OverworldContext{
	protected Menu<T> menu;
	public MenuContext(ClientOverworldStage stage, OverworldContext prev, Menu<T> m){

		super(stage,prev);
