Rogue: Savage Rats, a retro-themed dungeon crawler
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package mightypork.gamecore.gui.events;
|
|
|
|
|
|
|
|
|
|
|
|
import mightypork.gamecore.eventbus.BusEvent;
|
|
|
|
import mightypork.gamecore.eventbus.event_flags.DirectEvent;
|
|
|
|
import mightypork.gamecore.eventbus.event_flags.NonConsumableEvent;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Intended use is to notify UI component sub-clients that they should poll
|
|
|
|
* their cached constraints.
|
|
|
|
*
|
|
|
|
* @author MightyPork
|
|
|
|
*/
|
|
|
|
@DirectEvent
|
|
|
|
@NonConsumableEvent
|
|
|
|
public class LayoutChangeEvent extends BusEvent<LayoutChangeListener> {
|
|
|
|
|
|
|
|
public LayoutChangeEvent()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void handleBy(LayoutChangeListener handler)
|
|
|
|
{
|
|
|
|
handler.onLayoutChanged();
|
|
|
|
}
|
|
|
|
}
|