import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Missile here. * * @author (your name) * @version (a version number or a date) */ public class Missile extends Actor {int turncounter = 0; /** * Act - do whatever the Missile wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { if (turncounter == 0){ turn(-90); turncounter++; } else{ } move (-8); } }