Removed some debugging messages
This commit is contained in:
parent
64ad7520af
commit
b49e4146c8
2 changed files with 1 additions and 9 deletions
|
@ -59,18 +59,13 @@ free.
|
||||||
<- .print("Handling ",victim(X,Y)," now.");
|
<- .print("Handling ",victim(X,Y)," now.");
|
||||||
.broadcast(tell, committed_to(victim(X,Y)));
|
.broadcast(tell, committed_to(victim(X,Y)));
|
||||||
!pos(X,Y);
|
!pos(X,Y);
|
||||||
.print("Itt vagyok");
|
|
||||||
!ensure(pick,victim(X,Y));
|
!ensure(pick,victim(X,Y));
|
||||||
// broadcast that I got the victim(X,Y), to avoid someone
|
// broadcast that I got the victim(X,Y), to avoid someone
|
||||||
// else to pursue this victim
|
// else to pursue this victim
|
||||||
.broadcast(tell,picked(victim(X,Y)));
|
.broadcast(tell,picked(victim(X,Y)));
|
||||||
.print("Ez is jó!");
|
|
||||||
?depot(DX,DY);
|
?depot(DX,DY);
|
||||||
.print("Még ez is jó!!!");
|
|
||||||
!pos(DX,DY);
|
!pos(DX,DY);
|
||||||
.print("Sőt, Még ez is jó!!!");
|
|
||||||
!ensure(drop);
|
!ensure(drop);
|
||||||
.print("Mindjárt megvaaan!");
|
|
||||||
-victim(X,Y)[source(_)];
|
-victim(X,Y)[source(_)];
|
||||||
.print("Finish handling ",victim(X,Y));
|
.print("Finish handling ",victim(X,Y));
|
||||||
!pos(X,Y);
|
!pos(X,Y);
|
||||||
|
|
|
@ -60,9 +60,6 @@ public class WorldView extends GridWorldView {
|
||||||
msg.setLayout(new BoxLayout(msg, BoxLayout.Y_AXIS));
|
msg.setLayout(new BoxLayout(msg, BoxLayout.Y_AXIS));
|
||||||
msg.setBorder(BorderFactory.createEtchedBorder());
|
msg.setBorder(BorderFactory.createEtchedBorder());
|
||||||
|
|
||||||
p = new JPanel(new FlowLayout(FlowLayout.CENTER));
|
|
||||||
p.add(new JLabel("Click on the cells to add new victims"));
|
|
||||||
msg.add(p);
|
|
||||||
p = new JPanel(new FlowLayout(FlowLayout.CENTER));
|
p = new JPanel(new FlowLayout(FlowLayout.CENTER));
|
||||||
p.add(new JLabel("(mouse at:"));
|
p.add(new JLabel("(mouse at:"));
|
||||||
jlMouseLoc = new JLabel("0,0)");
|
jlMouseLoc = new JLabel("0,0)");
|
||||||
|
|
Loading…
Reference in a new issue