Permalink
Browse files

Set correct speeds before starting games

  • Loading branch information...
aardvarrk committed Jan 25, 2013
1 parent e0dd5d4 commit 3529397803a806d42f6ef552964acfba618e7fc4
Showing with 1,958 additions and 1,948 deletions.
  1. +1 −0 Game1.java
  2. BIN Game2.class
  3. +1 −0 Game2.java
  4. +1 −0 Game3.java
  5. BIN Game4.class
  6. +1 −0 Game4.java
  7. +1,954 −1,948 project.greenfoot
View
@@ -3,6 +3,7 @@
public class Game1 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(50);
Greenfoot.setWorld(new FloodWorldMenu());
}
}
View
Binary file not shown.
View
@@ -3,6 +3,7 @@
public class Game2 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(50);
Greenfoot.setWorld(new HelicopterWorldMenu());
}
}
View
@@ -3,6 +3,7 @@
public class Game3 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(55);
Greenfoot.setWorld(new ControlroomMenu());
}
}
View
Binary file not shown.
View
@@ -3,6 +3,7 @@
public class Game4 extends Buttons {
public void act() {
if (Greenfoot.mouseClicked(this)) {
+ Greenfoot.setSpeed(38);
Greenfoot.setWorld(new SkyscraperWorld());
}
}
Oops, something went wrong.

0 comments on commit 3529397

Please sign in to comment.