Double Grid

By Ninto - uploaded on 2009-3-23      776 views (22 in the last 7 days)      1 vote (0 in the last 7 days)

Tags: mouse with-source grid

The gridActor class in this scenario is made to fit 2 grids at once.
This means that whenever the 'grid()' method is called will the actor move to the other grid.
In this scenario the grids is 1 and 60.

Controls:
- M: Create a mover at a random location.
- B: Create a bullet at a the location of the mouse.
- H: Create a house that will follow the mouse until clicked.
- T: Create a turret that will follow the mouse until clicked.
- C: Clear all objects in the world.
- ArrowKeys: Move all movers in the world.


Open the scenario in Greenfoot.
Download the source for this scenario.


Your browser is ignoring the <APPLET> tag.

Some people who like this scenario: Builderboy2005


This scenario is a member of the following collections: Reusable actors & support classes


Report this scenario as broken or inappropriate.


If you want to leave a comment on this scenario, you must first log in.


The Greenfoot Network:  Greenfoot.org    Greenfoot Gallery   Greenfoot-Discuss

Our sponsors:

University of Kent Deakin University Sun Microsystems