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

/**
 * 
 */
public class Elefant extends Actor
{
    private int alter = 49;
    private String name = "Rainer";

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

    /**
     * 
     */
    public void allesSagen()
    {
        this.getWorld().showText("Ich heiße " + this.name, 200, 200);
        this.getWorld().showText("Ich bin " + this.alter + " Jahre alt", 200, 300);
    }

    /**
     * 
     */
    public void luegen()
    {
        int erlogenesAlter = 80;
        String erlogenerName;
        erlogenerName = "Dieter";
        this.getWorld().showText("Ich bin " + erlogenesAlter + " Jahre alt", 200, 300);
        this.getWorld().showText("Ich heiße " + erlogenerName, 200, 200);
    }
}
