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.
zweiundvierzig-JavaFX/Dice_Defender.java

30 lines
784 B
Java

import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Dice_Defender here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Dice_Defender extends Dice
{
/**
* Act - do whatever the Dice_Defender 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.
}
/**
* @param Troups Anzahl der Truppen auf dem gewählten Feld
* //@param cheat optional: Die Kleinstmöglichste Anzahl des Würfels, standardmäßig 1
*
*/
public int dice(int Troups)
{
int dice_eyes = 0;
return dice_eyes;
}
}