Updated dependencies.
- LWJGL is now at the final 2.x release version. - Slick2D is now at the final (?) release version. - Added dependency for org.tukaani.xz, since it becomes optional in commons-compress 1.9 and is needed for LZMA compression. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -595,6 +595,7 @@ public class Image implements Renderable {
|
||||
* @param y The y location to draw the image at
|
||||
* @param filter The color to filter with when drawing
|
||||
*/
|
||||
@Override
|
||||
public void draw(float x, float y, Color filter) {
|
||||
init();
|
||||
draw(x,y,width,height, filter);
|
||||
@@ -719,6 +720,7 @@ public class Image implements Renderable {
|
||||
* @param height
|
||||
* The height to render the image at
|
||||
*/
|
||||
@Override
|
||||
public void draw(float x,float y,float width,float height) {
|
||||
init();
|
||||
draw(x,y,width,height,Color.white);
|
||||
@@ -797,6 +799,7 @@ public class Image implements Renderable {
|
||||
* @param height The height to render the image at
|
||||
* @param filter The color to filter with while drawing
|
||||
*/
|
||||
@Override
|
||||
public void draw(float x,float y,float width,float height,Color filter) {
|
||||
if (alpha != 1) {
|
||||
if (filter == null) {
|
||||
|
||||
Reference in New Issue
Block a user