I am wondering how to "select" a pic in the menustate, I am still very new to both java and jME. Here are some of my attemts:
public class BGMainMenuState extends StandardGameState {
private Node cursor;
private DisplaySystem display;
private InputHandler input;
private Mouse mouse27;
private Quad hudQuad27;
private Quad hudQuad1;
private Text text25;
private Vector3f mousecoord;
//private Vector3f mousecoord1;
private Vector3f newgamepicvec;
public BGMainMenuState(String name) {
super(name);
display = DisplaySystem.getDisplaySystem();
display.getRenderer().setBackgroundColor(ColorRGBA.blue);
initInput();
initCursor();
initText();
initHud();
initHudSettings();
rootNode.setLightCombineMode(LightState.OFF);
rootNode.setRenderQueueMode(Renderer.QUEUE_ORTHO);
rootNode.updateRenderState();
rootNode.updateGeometricState(0, true);
}
/**
* @see com.jmex.game.state.StandardGameState#onActivate()
*/
public void onActivate() {
display.setTitle("ScarBaseGame - MainMenuState");
super.onActivate();
}
protected void initInput() {
input = new BGMainMenuHandler( this );