Skip to content

Commit

Permalink
Javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSweet committed Apr 11, 2016
1 parent c14124a commit bae267e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Image.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public void setDrawable (Skin skin, String drawableName) {
setDrawable(skin.getDrawable(drawableName));
}

/** @param drawable May be null. */
public void setDrawable (Drawable drawable) {
if (this.drawable == drawable) return;
if (drawable != null) {
Expand All @@ -147,6 +148,7 @@ public void setDrawable (Drawable drawable) {
this.drawable = drawable;
}

/** @return May be null. */
public Drawable getDrawable () {
return drawable;
}
Expand Down

0 comments on commit bae267e

Please sign in to comment.