// 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 java.util.ArrayList;
import java.util.List;
import chu.engine.anim.AudioPlayer;
import net.fe.overworldStage.*;
import net.fe.unit.Unit;

		nextTarget();
	}

	public void onLeft() {
		prevTarget();
	}

	public void onRight() {
		nextTarget();
	}

	public void prevTarget() {
		selected--;
		if (selected < 0) {
			selected += targets.size();
		}
		updateCursor();
	}

	public void nextTarget() {
		selected++;
		selected %= targets.size();
		updateCursor();
	}

	public Node getCurrentTarget() {
		return targets.get(selected);
	}

	public void updateCursor() {

// 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/context/DropTarget.java
import java.util.ArrayList;
import java.util.List;
import chu.engine.anim.AudioPlayer;
import net.fe.overworldStage.*;
import net.fe.unit.Unit;

		nextTarget();
	}

	public void onLeft() {
		prevTarget();
	}

	public void onRight() {
		nextTarget();
	}

	public void prevTarget() {
		selected--;
		if (selected < 0) {
			selected += targets.size();
		}
		updateCursor();
	}

	public void nextTarget() {
		selected++;
		selected %= targets.size();
		updateCursor();
	}

	public Node getCurrentTarget() {
		return targets.get(selected);
	}

	public void updateCursor() {

		AudioPlayer.playAudio("cursor", 1, 1);
