kaelthas 10 years ago
commit 4992eba850
  1. 6
      jme3-niftygui/src/main/java/com/jme3/cinematic/events/GuiEvent.java

@ -38,6 +38,8 @@ import com.jme3.export.JmeImporter;
import com.jme3.export.OutputCapsule; import com.jme3.export.OutputCapsule;
import de.lessvoid.nifty.Nifty; import de.lessvoid.nifty.Nifty;
import java.io.IOException; import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/** /**
* *
@ -45,6 +47,8 @@ import java.io.IOException;
*/ */
public class GuiEvent extends AbstractCinematicEvent { public class GuiEvent extends AbstractCinematicEvent {
static final Logger log = Logger.getLogger(GuiEvent.class.getName());
protected String screen; protected String screen;
protected Nifty nifty; protected Nifty nifty;
@ -76,7 +80,7 @@ public class GuiEvent extends AbstractCinematicEvent {
@Override @Override
public void onPlay() { public void onPlay() {
System.out.println("screen should be " + screen); log.log(Level.FINEST, "screen should be {0}", screen);
nifty.gotoScreen(screen); nifty.gotoScreen(screen);
} }

Loading…
Cancel
Save