Revision 3a70bd6d
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/library/DistortedSurface.java | ||
---|---|---|
247 | 247 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
248 | 248 |
|
249 | 249 |
/** |
250 |
* Return the height of this Surface.
|
|
250 |
* Return the width of this Surface.
|
|
251 | 251 |
* |
252 |
* @return height of the object, in pixels.
|
|
252 |
* @return width of the Object, in pixels.
|
|
253 | 253 |
*/ |
254 | 254 |
public int getWidth() |
255 | 255 |
{ |
... | ... | |
258 | 258 |
|
259 | 259 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
260 | 260 |
/** |
261 |
* Return the width of this Surface.
|
|
261 |
* Return the height of this Surface.
|
|
262 | 262 |
* |
263 |
* @return width of the Object, in pixels.
|
|
263 |
* @return height of the Object, in pixels.
|
|
264 | 264 |
*/ |
265 | 265 |
public int getHeight() |
266 | 266 |
{ |
Also available in: Unified diff
Bugfix in EffectQueues: if we interpolate something, then stop and again start interpolating, it used to use the old position (position from the moment when we stopped interpolating!) during the first run after the resume. Fix that.