import de.ba16co.greencraft.api.*;
import java.util.*;

/**
 * @author your name
 *
 */
public class ExampleActor extends GreencraftActor {
  
  public ExampleActor() {
    
  }
  
  // This method contains what the actor will do.
  public void act() {
    // Remove the // from the beginning of a line to do something.
    
    if (Greencraft.isKeyDown("Left")) {
      turn(-3); // Turns the actor the given amount. 
    }
    if (Greencraft.isKeyDown("Right")) {
      turn(3); // Turns the actor the given amount.
    }
    
    // move(1); // Moves the actor with the given speed.
    
  }
}