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

/**
 * 
 */
public class Ameise extends Tier
{
    public int geschwindigkeit;
    public String name;
    public int intelligenzquotient;
    /* */

    /**
     * 
     */
    public Ameise(int geschwindigkeit, String name, int iq)
    {
        this.geschwindigkeit = geschwindigkeit;
        this.name = name;
        this.intelligenzquotient = iq;
    }

    /**
     * 
     */
    public void act()
    {
        this.move(this.geschwindigkeit);
        if (this.isAtEdge()) {
            this.turn(180);
        }
    }
}
