mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-29 01:59:42 +01:00
board visible again
This commit is contained in:
parent
bd725e2dc4
commit
dfdbcdc9f3
@ -136,6 +136,7 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga
|
|||||||
private boolean isBuyCardPopupOpen = false;
|
private boolean isBuyCardPopupOpen = false;
|
||||||
private final ActionListener BListener = (name, isPressed, tpf) -> handleB(isPressed);
|
private final ActionListener BListener = (name, isPressed, tpf) -> handleB(isPressed);
|
||||||
private final ActionListener TListener = (name, isPressed, tpf) -> handleT(isPressed);
|
private final ActionListener TListener = (name, isPressed, tpf) -> handleT(isPressed);
|
||||||
|
private TestWorld testWorld;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// Configure logging
|
// Configure logging
|
||||||
@ -296,8 +297,8 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga
|
|||||||
//logik zum wechselnden erscheinen und verschwinden beim drücken von B //TODO süäter entfernen
|
//logik zum wechselnden erscheinen und verschwinden beim drücken von B //TODO süäter entfernen
|
||||||
private void handleT(boolean isPressed) {
|
private void handleT(boolean isPressed) {
|
||||||
if (isPressed) {
|
if (isPressed) {
|
||||||
TestWorld tmp = new TestWorld(this);
|
testWorld = new TestWorld(this);
|
||||||
tmp.initializeScene();
|
testWorld.initializeScene();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -350,6 +351,11 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga
|
|||||||
super.simpleUpdate(tpf);
|
super.simpleUpdate(tpf);
|
||||||
dialogManager.update(tpf);
|
dialogManager.update(tpf);
|
||||||
logic.update(tpf);
|
logic.update(tpf);
|
||||||
|
|
||||||
|
//TODO testing replace later
|
||||||
|
if (testWorld != null) {
|
||||||
|
testWorld.update(tpf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user