// WARNING: This file is auto-generated and any changes to it will be overwritten import java.util.*; import greenfoot.*; /** * */ public class Beschriftung extends Actor { private Font f; /** * */ public Beschriftung(String fontname, int fontsize, String text) { f = new Font(fontname, fontsize); this.getImage().drawString(text, 20, 20); } /** * Act - do whatever the Beschriftung wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { } }