v1.4.2: Buff bar can now squish itself, max visible hero buffs up to 15

This commit is contained in:
Evan Debenham
2022-10-11 13:28:07 -04:00
parent 46525d4784
commit 5d0c1bf2e2
3 changed files with 34 additions and 0 deletions

View File

@@ -129,6 +129,12 @@ public class PointerArea extends Visual implements Signal.Listener<PointerEvent>
public void reset() {
curEvent = null;
}
//moves this pointer area to the front of the pointer event order
public void givePointerPriority(){
PointerEvent.removePointerListener( this );
PointerEvent.addPointerListener( this );
}
@Override
public void destroy() {