Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set correct speeds before starting games

  • Loading branch information...
commit 3529397803a806d42f6ef552964acfba618e7fc4 1 parent e0dd5d4
@aardvarrk aardvarrk authored
View
1  Game1.java
@@ -3,6 +3,7 @@
public class Game1 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(50);
Greenfoot.setWorld(new FloodWorldMenu());
}
}
View
BIN  Game2.class
Binary file not shown
View
1  Game2.java
@@ -3,6 +3,7 @@
public class Game2 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(50);
Greenfoot.setWorld(new HelicopterWorldMenu());
}
}
View
1  Game3.java
@@ -3,6 +3,7 @@
public class Game3 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(55);
Greenfoot.setWorld(new ControlroomMenu());
}
}
View
BIN  Game4.class
Binary file not shown
View
1  Game4.java
@@ -3,6 +3,7 @@
public class Game4 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(38);
Greenfoot.setWorld(new SkyscraperWorld());
}
}
View
3,902 project.greenfoot
1,954 additions, 1,948 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.