mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-04-17 12:40:59 +02:00
Compare commits
No commits in common. "2aca94100e70a196001706f4d73589f3c9feb31a" and "c2c22f9ae5d305f59ddbedc3b637b2e2f2bb0657" have entirely different histories.
2aca94100e
...
c2c22f9ae5
@ -17,7 +17,6 @@ import pp.monopoly.model.fields.BuildingProperty;
|
|||||||
import pp.monopoly.model.fields.FoodField;
|
import pp.monopoly.model.fields.FoodField;
|
||||||
import pp.monopoly.model.fields.GateField;
|
import pp.monopoly.model.fields.GateField;
|
||||||
import pp.monopoly.model.fields.PropertyField;
|
import pp.monopoly.model.fields.PropertyField;
|
||||||
import pp.monopoly.notification.Sound;
|
|
||||||
|
|
||||||
import java.text.Collator;
|
import java.text.Collator;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -79,11 +78,7 @@ public class PropertyOverviewMenu extends Dialog {
|
|||||||
// Add the "Zurück" button at the bottom
|
// Add the "Zurück" button at the bottom
|
||||||
Button backButton = mainContainer.addChild(new Button("Zurück", new ElementId("button")));
|
Button backButton = mainContainer.addChild(new Button("Zurück", new ElementId("button")));
|
||||||
backButton.setPreferredSize(new Vector3f(200, 60, 0));
|
backButton.setPreferredSize(new Vector3f(200, 60, 0));
|
||||||
backButton.addClickCommands(source -> ifTopDialog( () -> {
|
backButton.addClickCommands(source -> this.close());
|
||||||
app.getGameLogic().playSound(Sound.BUTTON);
|
|
||||||
close();
|
|
||||||
|
|
||||||
}));
|
|
||||||
|
|
||||||
// Attach the main container to the GUI node
|
// Attach the main container to the GUI node
|
||||||
app.getGuiNode().attachChild(mainContainer);
|
app.getGuiNode().attachChild(mainContainer);
|
||||||
|
@ -107,7 +107,7 @@ public class ReceivedRent extends Dialog {
|
|||||||
|
|
||||||
// Rent message
|
// Rent message
|
||||||
Container textContainer = container.addChild(new Container());
|
Container textContainer = container.addChild(new Container());
|
||||||
textContainer.addChild(new Label(playerName+ " zahlt dir " + amount + " EUR Miete",
|
textContainer.addChild(new Label("Du bekommst von Spieler " + " " + playerName + " " + amount + " EUR Miete",
|
||||||
new ElementId("label-Text")));
|
new ElementId("label-Text")));
|
||||||
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
|
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
|
||||||
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));
|
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));
|
||||||
|
@ -107,7 +107,7 @@ public class Rent extends Dialog {
|
|||||||
|
|
||||||
// Rent message
|
// Rent message
|
||||||
Container textContainer = container.addChild(new Container());
|
Container textContainer = container.addChild(new Container());
|
||||||
textContainer.addChild(new Label("Du musst " + amount + " EUR Miete an " + playerName + " zahlen",
|
textContainer.addChild(new Label("Du musst Spieler " + " " + playerName + " " + amount + " EUR Miete zahlen",
|
||||||
new ElementId("label-Text")));
|
new ElementId("label-Text")));
|
||||||
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
|
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
|
||||||
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));
|
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));
|
||||||
|
@ -22,7 +22,7 @@ public class DeckHelper{
|
|||||||
cards.add(new Card("Du kommst aus dem Gulak frei!", "gulak-frei-2"));
|
cards.add(new Card("Du kommst aus dem Gulak frei!", "gulak-frei-2"));
|
||||||
cards.add(new Card("Du hast den Dienstführerschein bestanden. Ziehe vor bis Teststrecke.", "dienstfuehrerschein"));
|
cards.add(new Card("Du hast den Dienstführerschein bestanden. Ziehe vor bis Teststrecke.", "dienstfuehrerschein"));
|
||||||
cards.add(new Card("Malkmus läd zum Pubquiz ein. Rücke vor bis zum 20er.", "pubquiz"));
|
cards.add(new Card("Malkmus läd zum Pubquiz ein. Rücke vor bis zum 20er.", "pubquiz"));
|
||||||
cards.add(new Card("Deine IGF-Daten sind verschwunden, statte Padubrin einen Besuch ab und gib ihm einen Jägermeister aus.", "IGF-Padubrin"));
|
cards.add(new Card("Deine IGF-Daten sind verschwunden, statte Padubrin einen Besuch ab und gib ihm einen Jägermeister aus.", "namensschild-truppenkueche"));
|
||||||
cards.add(new Card("Du hast heute die Spendierhosen an und gibst eine Runde in der Unibar. Zahle jedem Spieler 400 EUR", "spendierhosen-unibar"));
|
cards.add(new Card("Du hast heute die Spendierhosen an und gibst eine Runde in der Unibar. Zahle jedem Spieler 400 EUR", "spendierhosen-unibar"));
|
||||||
cards.add(new Card("Du warst in der Prüfungsphase krank. Gehe 3 Felder zurück.", "pruefungsphase-krank"));
|
cards.add(new Card("Du warst in der Prüfungsphase krank. Gehe 3 Felder zurück.", "pruefungsphase-krank"));
|
||||||
cards.add(new Card("Ziehe vor bis zum nächsten Monatsgehalt.", "naechstes-monatsgehalt"));
|
cards.add(new Card("Ziehe vor bis zum nächsten Monatsgehalt.", "naechstes-monatsgehalt"));
|
||||||
@ -75,8 +75,8 @@ public class DeckHelper{
|
|||||||
pubquiz(player);
|
pubquiz(player);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "IGF-Padubrin":
|
case "namensschild-truppenkueche":
|
||||||
igfPadubrin(player);
|
namensschildTruppenkueche(player);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "spendierhosen-unibar":
|
case "spendierhosen-unibar":
|
||||||
@ -204,7 +204,7 @@ public class DeckHelper{
|
|||||||
player.setPositionWithMoney(39);
|
player.setPositionWithMoney(39);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void igfPadubrin(Player player) {
|
private void namensschildTruppenkueche(Player player) {
|
||||||
player.setPosition(24);
|
player.setPosition(24);
|
||||||
player.pay(250);
|
player.pay(250);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user