Skip to content

Commit

Permalink
added channel for assistant to read if only two are left
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrasch committed Feb 18, 2011
1 parent 985f905 commit d26d90a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assistant.jr
Expand Up @@ -6,10 +6,11 @@ public class Assistant extends Person {

public Assistant() {
super("Assistant");
Global.assistant = self;
}
public op void onlyTwoLeft();

private boolean knowsOnlyTwoLeft;


protected boolean shouldGoHome()
{
Expand Down
1 change: 1 addition & 0 deletions Global.jr
Expand Up @@ -4,6 +4,7 @@ import java.util.*;
public class Global {

// Global objects in the bar
public static Assistant assistant;
public static Door door;


Expand Down

0 comments on commit d26d90a

Please sign in to comment.