Skip to content

Commit

Permalink
Fixed compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrasch committed Feb 18, 2011
1 parent 062b2b3 commit 36b5a89
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 216 deletions.
4 changes: 2 additions & 2 deletions Assistant.jr
Expand Up @@ -6,7 +6,7 @@ public class Assistant extends Person {

public Assistant() {
super("Assistant");
Global.assistant = self;
Global.assistant = this;
knowsOnlyTwoLeft = false;

}
Expand All @@ -29,7 +29,7 @@ public class Assistant extends Person {
}
[] else
{
clearAllTable();
clearAllTables();
JR.nap(Global.assistantNappingTime);
}
}
Expand Down
1 change: 1 addition & 0 deletions Global.jr
Expand Up @@ -14,6 +14,7 @@ public class Global {
public static int tableCapacities = 10;
public static int startGlassCount = 10;
public static int startCupsCount = 10;
public static int assistantNappingTime = 100;

// Private constants
private final static int BEER_DRINKING_TIME = 100;
Expand Down

0 comments on commit 36b5a89

Please sign in to comment.