// WARNING: This file is auto-generated and any changes to it will be overwritten
import java.util.*;
import greenfoot.*;

/**
 * 
 */
public class Textfeld extends Actor
{
    protected Bank meineWelt;

    /**
     * 
     */
    public Textfeld(String text)
    {
        GreenfootImage gfi =  new  GreenfootImage(text, 25, Color.WHITE, Color.BLUE);
        this.setImage(gfi);
    }

    /**
     * Act - do whatever the Textfeld wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act()
    {
        if (Greenfoot.mouseClicked(this)) {
            this.aktionausfuehren();
        }
    }

    /**
     * 
     */
    public void aktionausfuehren()
    {
    }

    /**
     * 
     */
    protected void addedToWorld(World world)
    {
        meineWelt = (Bank)this.getWorld();
    }
}
