isRSHidden > isSelfHidden

This commit is contained in:
Max Weber
2018-02-20 05:19:20 -07:00
parent c916f547a1
commit 1d5a9f7e90
3 changed files with 14 additions and 2 deletions

View File

@@ -78,8 +78,19 @@ public interface Widget
void setSpriteId(int spriteId);
/**
* @return True if this widget or any of it's parents are hidden
*/
boolean isHidden();
/**
* @return True if this widget, regardless of it's parent's state
*/
boolean isSelfHidden();
/**
* Sets if this element is hidden as returned by isSelfHidden()
*/
void setHidden(boolean hidden);
Point getCanvasLocation();