foule
This commit is contained in:
parent
dfd3e4b7fa
commit
204f626f11
1 changed files with 17 additions and 6 deletions
|
|
@ -102,9 +102,10 @@ public class Program {
|
||||||
logger.debug(statistics.toString());
|
logger.debug(statistics.toString());
|
||||||
for (var player : statistics.players) {
|
for (var player : statistics.players) {
|
||||||
|
|
||||||
if (player.name != login) {
|
if (!player.name.equals(login)) {
|
||||||
|
logger.debug("Spamming " + player.name);
|
||||||
citizen1.sendMessage(player.name, "Nicole");
|
citizen1.sendMessage(player.name, "Nicole");
|
||||||
citizen1.sendMessage(player.name, "Ouvre");
|
citizen2.sendMessage(player.name, "Ouvre");
|
||||||
citizen1.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
|
citizen1.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
|
||||||
citizen2.fetchMessages();
|
citizen2.fetchMessages();
|
||||||
}
|
}
|
||||||
|
|
@ -116,14 +117,24 @@ public class Program {
|
||||||
// citizen2.fetchMessages();
|
// citizen2.fetchMessages();
|
||||||
}
|
}
|
||||||
// Country road
|
// Country road
|
||||||
|
// citizen1.move(Direction.RIGHT);
|
||||||
|
// citizen2.move(Direction.LEFT);
|
||||||
|
// citizen1.build(Building.ROAD);
|
||||||
|
// citizen2.build(Building.ROAD);
|
||||||
|
// citizen1.move(Direction.UP);
|
||||||
|
// citizen2.move(Direction.DOWN);
|
||||||
|
// citizen1.build(Building.ROAD);
|
||||||
|
// citizen2.build(Building.ROAD);
|
||||||
|
|
||||||
|
// Gather
|
||||||
citizen1.move(Direction.RIGHT);
|
citizen1.move(Direction.RIGHT);
|
||||||
citizen2.move(Direction.LEFT);
|
citizen2.move(Direction.LEFT);
|
||||||
citizen1.build(Building.ROAD);
|
citizen1.gather();
|
||||||
citizen2.build(Building.ROAD);
|
citizen2.gather();
|
||||||
citizen1.move(Direction.UP);
|
citizen1.move(Direction.UP);
|
||||||
citizen2.move(Direction.DOWN);
|
citizen2.move(Direction.DOWN);
|
||||||
citizen1.build(Building.ROAD);
|
citizen1.gather();
|
||||||
citizen2.build(Building.ROAD);
|
citizen2.gather();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Negotiator
|
// Negotiator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue