Skip to content

Commit

Permalink
Add element.runUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
buthed010203 committed Jan 2, 2024
1 parent b6bc111 commit 6ba4653
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arc-core/src/arc/scene/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,10 @@ public void touchable(Prov<Touchable> touch){
this.touchablility = touch;
}

public void runUpdate(){
if(update != null) update.run();
}

@Override
public String toString(){
String name = this.name;
Expand Down

0 comments on commit 6ba4653

Please sign in to comment.