import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Debris here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Debris extends SmoothMover
{
private static final Vector GRAVITY = new Vector(90,1.5);
public Debris()
{
}
/**
* Act - do whatever the Debris wants to do. This method is called whenever
* the 'Act' or 'Run' button gets pressed in the environment.
*/
public void act()
{
increaseSpeed(GRAVITY);
move (4);
}
}
