public final void setScreenWidth ( int screenWidth ) { final int wi = ( int ) Math . ceil ( screenWidth / ( double ) sprite . getWidth ( ) ) + 1 ; w = wi ; }
Set the screen width . Used to know how much clouds are needed in order to fill the screen .