import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Map here. * * @author (your name) * @version (a version number or a date) */ public class Map extends World implements ButtonEvent { Bildbutton map1 = new Bildbutton (new GreenfootImage("WeltkarteSkal.png"), this); Bildbutton map2 = new Bildbutton (new GreenfootImage("USAKarteSkal.png"), this); private Button fertigst = new Button (" Fertigstellen",16,this); int[] colour; String[] pn; int pnu; //private int x; //private int y; private int m=0; private Map_World MW ; // int [] newcolour = new int [pnu]; // String [] newpn = new String [pnu]; public Map( int[] bunt, int zahl , String [] name) { super (1600,900,1); setBackground(Start_Load.backgroundImage); colour = new int[zahl]; pn = new String[zahl]; for (int i=0; i