Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
This commit is contained in:
@@ -32,8 +32,6 @@ public class GameView extends MdgaView {
|
||||
private CameraHandler camera;
|
||||
private GuiHandler guiHandler;
|
||||
|
||||
private ButtonRight cheatButton; //TODO
|
||||
|
||||
private ButtonLeft leaveButton;
|
||||
private ButtonRight confirmButton;
|
||||
|
||||
@@ -44,7 +42,6 @@ public class GameView extends MdgaView {
|
||||
public GameView(MdgaApp app) {
|
||||
super(app);
|
||||
|
||||
cheatButton = new ButtonRight(app, overlayNode, () -> app.getModelSynchronize().enter(MdgaState.CEREMONY), "CHEAT", 1);
|
||||
leaveButton = new ButtonLeft(app, overlayNode, () -> app.getModelSynchronize().leave(), "Spiel verlassen", 1);
|
||||
|
||||
confirmButton = new ButtonRight(app, guiNode, () -> app.getModelSynchronize().confirm(), "Bestätigen", 1);
|
||||
@@ -90,7 +87,6 @@ public void onUpdate(float tpf) {
|
||||
protected void onEnterOverlay(Overlay overlay) {
|
||||
if(overlay == Overlay.SETTINGS) {
|
||||
leaveButton.show();
|
||||
cheatButton.show();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,7 +94,6 @@ protected void onEnterOverlay(Overlay overlay) {
|
||||
protected void onLeaveOverlay(Overlay overlay) {
|
||||
if(overlay == Overlay.SETTINGS) {
|
||||
leaveButton.hide();
|
||||
cheatButton.hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user