Merge pull request #289 from ChristianGaertner/patch-1
[Nifty-GUI] Using java logger, instead of stdout
This commit is contained in:
commit
b4b5b19fe3
@ -38,6 +38,8 @@ import com.jme3.export.JmeImporter;
|
||||
import com.jme3.export.OutputCapsule;
|
||||
import de.lessvoid.nifty.Nifty;
|
||||
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 {
|
||||
|
||||
static final Logger log = Logger.getLogger(GuiEvent.class.getName());
|
||||
|
||||
protected String screen;
|
||||
protected Nifty nifty;
|
||||
|
||||
@ -76,7 +80,7 @@ public class GuiEvent extends AbstractCinematicEvent {
|
||||
|
||||
@Override
|
||||
public void onPlay() {
|
||||
System.out.println("screen should be " + screen);
|
||||
log.log(Level.FINEST, "screen should be {0}", screen);
|
||||
nifty.gotoScreen(screen);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user