Revision 9ce78850
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/objects/TwistyHelicopter.java | ||
---|---|---|
381 | 381 |
float S = 0.05f; |
382 | 382 |
|
383 | 383 |
FactorySticker factory = FactorySticker.getInstance(); |
384 |
factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[0], S, FACE_COLORS[face], R); |
|
384 |
factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[0], null, S, FACE_COLORS[face], R);
|
|
385 | 385 |
} |
386 | 386 |
|
387 | 387 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Generalize FactorySticker - make it possible to draw stickers whose sides are curved.
Convert the Ivy to use this new functionality.