Nosson1459 wrote...
(1) Missing methods:
- addedToWorld
- getIntersectingObjects
- getNeighbours
- getObjectsAtOffset
- getObjectsInRange
- getOneIntersectingObject
- getOneObjectAtOffset
- intersects
- isTouching
- removeTouching
import greenfoot.World;
import javax.swing.JButton;
/**
* Write a description of class Frame here.
*
* @author Yehuda (1/2 of Nosson1459 - greenfoot.org user name)
* @version 2/22/2017
*/
public class Frame extends World
{
JButton button = new JButton();
/**
* Constructor for objects of class Frame.
*
*/
public Frame()
{
// Create a new world with 600x400 cells with a cell size of 1x1 pixels.
super(600, 400, 1);
button.act();
}
}