mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-07-30 11:52:29 +02:00
fixed names in Player Popups
This commit is contained in:
@@ -351,8 +351,8 @@ public class Player implements FieldVisitor<Void>{
|
||||
int rent = field.calcRent();
|
||||
field.getOwner().earnMoney(rent);
|
||||
pay(rent);
|
||||
sendRentNotification("ReceivedRent", field.getOwner(), rent);
|
||||
sendRentNotification("rent", this, rent);
|
||||
sendRentNotification("ReceivedRent", this, rent);
|
||||
sendRentNotification("rent", field.getOwner(), rent);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -369,8 +369,8 @@ public class Player implements FieldVisitor<Void>{
|
||||
int rent = rollResult.calcTotal()*factor;
|
||||
field.getOwner().earnMoney(rent);
|
||||
pay(rent);
|
||||
sendRentNotification("ReceivedRent", field.getOwner(), rent);
|
||||
sendRentNotification("rent", this, rent);
|
||||
sendRentNotification("ReceivedRent", this, rent);
|
||||
sendRentNotification("rent", field.getOwner(), rent);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -384,8 +384,8 @@ public class Player implements FieldVisitor<Void>{
|
||||
|
||||
field.getOwner().earnMoney(rent);
|
||||
pay(rent);
|
||||
sendRentNotification("ReceivedRent", field.getOwner(), rent);
|
||||
sendRentNotification("rent", this, rent);
|
||||
sendRentNotification("ReceivedRent", this, rent);
|
||||
sendRentNotification("rent", field.getOwner(), rent);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user