You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
538 B
Java
20 lines
538 B
Java
9 years ago
|
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
|
||
|
|
||
|
/**
|
||
|
* Write a description of class Menue_Button here.
|
||
|
*
|
||
|
* @author (your name)
|
||
|
* @version (a version number or a date)
|
||
|
*/
|
||
|
public class Menue_Button extends Button
|
||
|
{
|
||
|
/**
|
||
|
* Act - do whatever the Menue_Button wants to do. This method is called whenever
|
||
|
* the 'Act' or 'Run' button gets pressed in the environment.
|
||
|
*/
|
||
|
public void act()
|
||
|
{
|
||
|
setLocation(100,38);// Add your action code here.
|
||
|
}
|
||
|
}
|