// WARNING: This file is auto-generated and any changes to it will be overwritten import java.util.*; import greenfoot.*; /** * */ public class Gegnerbeschriftung extends Actor { protected Beschriftung beschriftungsimage; private Font f = new Font("Arial", 20); /** * */ public Gegnerbeschriftung() { this.getImage().setFont(f); } /** * vorprogrammiert */ public void beschriften(int gesundheit) { this.getImage().clear(); this.getImage().drawString(String.valueOf(gesundheit), 0, this.getImage().getWidth() - 20); } /** * */ public Beschriftung getBeschriftungsimage() { return this.beschriftungsimage; } /** * */ public void setBeschriftungsimage(Beschriftung beschriftungsimage) { this.beschriftungsimage = beschriftungsimage; } }