canWithdraw() + changes to displayable() (#6902)

* `shouldDiplay()` + `canWithdraw()`

* Better implementation of `displayable()`
This commit is contained in:
MEEPofFaith
2022-06-08 06:17:30 -07:00
committed by GitHub
parent 968651d9ed
commit 5cc314672f
4 changed files with 11 additions and 6 deletions

View File

@@ -4,5 +4,9 @@ import arc.scene.ui.layout.*;
/** An interface for things that can be displayed when hovered over. */
public interface Displayable{
default boolean displayable(){
return true;
}
void display(Table table);
}