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
518 B
Java
20 lines
518 B
Java
9 years ago
|
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
|
||
|
{
|
||
|
/**
|
||
|
* 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.
|
||
|
}
|
||
|
}
|