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/Spieleranzahl.java

33 lines
637 B
Java

import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Spieleranzahl here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Spieleranzahl extends Spieloptionen
{
/**
* Constructor for objects of class Spieleranzahl.
*
*/
public Spieleranzahl()
{
addObject (new Button(), 100, 300);
}
public void act()
{
if (handler.buttonClicked(this));
{
int s;
if (s > 3)
{
int s = Spieleranzahl;
}
}
}
}