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.
24 lines
587 B
Java
24 lines
587 B
Java
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
|
|
|
|
/**
|
|
* Write a description of class Würfel_Button_Angriff here.
|
|
*
|
|
* @author (your name)
|
|
* @version (a version number or a date)
|
|
*/
|
|
public class Roll_Button extends Button
|
|
{
|
|
public Roll_Button(ButtonEvent h) {
|
|
super(h);
|
|
}
|
|
|
|
/**
|
|
* Act - do whatever the Würfel_Button_Angriff wants to do. This method is called whenever
|
|
* the 'Act' or 'Run' button gets pressed in the environment.
|
|
*/
|
|
public void act()
|
|
{
|
|
// Add your action code here.
|
|
}
|
|
}
|