*/
public CloudLinear(
int x, int y, int x2 , int y2,
int velocity, Box bbox, SpriteSheet sprSheet, int cloudSize) {
setWorldPosition(new Point(
x+(x2-x)/2 - (bbox.getLeft() + bbox.getWidth()/2),
y+(y2-y)/2 - (bbox.getTop() + bbox.getHeight()/2)));
setBoundingBox(bbox);
cyclePosition1 = new Point(x, y);
cyclePosition2 = new Point(x2, y2);
cycleDegree = 0;
cycleStep = velocity/10.0;
setSolidSurface(true);
currentAnim = new GfxState(sprSheet, cloudSize);
}