commit
f34a62c509
@ -0,0 +1,11 @@
|
||||
// Place your settings in this file to overwrite default and user settings.
|
||||
{
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.DS_Store": true,
|
||||
"*.class": true,
|
||||
"*.ctxt": true,
|
||||
"project.greenfoot": true,
|
||||
"**/.vscode": true
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
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 Button extends GUI_Interface
|
||||
{
|
||||
/**
|
||||
* 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()
|
||||
{
|
||||
// Add your action code here.
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
|
||||
|
||||
/**
|
||||
* Write a description of class GUI_Ingame here.
|
||||
*
|
||||
* @author (your name)
|
||||
* @version (a version number or a date)
|
||||
*/
|
||||
public class GUI_Ingame extends World
|
||||
{
|
||||
|
||||
/**
|
||||
* Constructor for objects of class GUI_Ingame.
|
||||
*
|
||||
*/
|
||||
public GUI_Ingame()
|
||||
{
|
||||
// Createcells with a cell size of 1x1 pixels.
|
||||
super(1920, 1080, 1);
|
||||
addObject(Menue_Button,100,100);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
|
||||
|
||||
/**
|
||||
* Write a description of class GUI_Interface here.
|
||||
*
|
||||
* @author (your name)
|
||||
* @version (a version number or a date)
|
||||
*/
|
||||
public class GUI_Interface extends Actor
|
||||
{
|
||||
/**
|
||||
* Act - do whatever the GUI_Interface 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.
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
@ -0,0 +1,19 @@
|
||||
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.
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
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.
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
@ -0,0 +1,8 @@
|
||||
#Greenfoot project file
|
||||
mainWindow.height=600
|
||||
mainWindow.width=800
|
||||
mainWindow.x=10
|
||||
mainWindow.y=10
|
||||
project.charset=UTF-8
|
||||
version=2.8.0
|
||||
world.lastInstantiated=GUI_Ingame
|
Loading…
Reference in New Issue