Skip to content

Commit

Permalink
Set correct speeds before starting games
Browse files Browse the repository at this point in the history
  • Loading branch information
aardvarrk committed Jan 25, 2013
1 parent e0dd5d4 commit 3529397
Show file tree
Hide file tree
Showing 7 changed files with 1,958 additions and 1,948 deletions.
1 change: 1 addition & 0 deletions Game1.java
Expand Up @@ -3,6 +3,7 @@
public class Game1 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
Greenfoot.setSpeed(50);
Greenfoot.setWorld(new FloodWorldMenu());
}
}
Expand Down
Binary file modified Game2.class
Binary file not shown.
1 change: 1 addition & 0 deletions Game2.java
Expand Up @@ -3,6 +3,7 @@
public class Game2 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
Greenfoot.setSpeed(50);
Greenfoot.setWorld(new HelicopterWorldMenu());
}
}
Expand Down
1 change: 1 addition & 0 deletions Game3.java
Expand Up @@ -3,6 +3,7 @@
public class Game3 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
Greenfoot.setSpeed(55);
Greenfoot.setWorld(new ControlroomMenu());
}
}
Expand Down
Binary file modified Game4.class
Binary file not shown.
1 change: 1 addition & 0 deletions Game4.java
Expand Up @@ -3,6 +3,7 @@
public class Game4 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
Greenfoot.setSpeed(38);
Greenfoot.setWorld(new SkyscraperWorld());
}
}
Expand Down

0 comments on commit 3529397

Please sign in to comment.