on va voir
This commit is contained in:
parent
40ae3b048d
commit
9f9d8be802
1 changed files with 5 additions and 1 deletions
|
|
@ -126,15 +126,19 @@ public class Program {
|
||||||
// citizen1.build(Building.ROAD);
|
// citizen1.build(Building.ROAD);
|
||||||
// citizen2.build(Building.ROAD);
|
// citizen2.build(Building.ROAD);
|
||||||
|
|
||||||
// Gather
|
// Gather + country road
|
||||||
citizen1.move(Direction.RIGHT);
|
citizen1.move(Direction.RIGHT);
|
||||||
citizen2.move(Direction.LEFT);
|
citizen2.move(Direction.LEFT);
|
||||||
citizen1.gather();
|
citizen1.gather();
|
||||||
citizen2.gather();
|
citizen2.gather();
|
||||||
|
citizen1.build(Building.ROAD);
|
||||||
|
citizen2.build(Building.ROAD);
|
||||||
citizen1.move(Direction.UP);
|
citizen1.move(Direction.UP);
|
||||||
citizen2.move(Direction.DOWN);
|
citizen2.move(Direction.DOWN);
|
||||||
citizen1.gather();
|
citizen1.gather();
|
||||||
citizen2.gather();
|
citizen2.gather();
|
||||||
|
citizen1.build(Building.ROAD);
|
||||||
|
citizen2.build(Building.ROAD);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Negotiator
|
// Negotiator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue