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

/**
 * 
 */
public class Luegenkobold extends Actor
{

    /**
     * 
     */
    public void act()
    {
        this.tastenPruefen();
    }

    /**
     * 
     */
    public void tastenPruefen()
    {
        if (Greenfoot.isKeyDown("left")) {
            this.turn(-3);
        }
        if (Greenfoot.isKeyDown("right")) {
            this.turn(3);
        }
        if (Greenfoot.isKeyDown("space")) {
            this.move(2);
        }
    }
}
