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.
rogue-savage-rats/src/mightypork/gamecore/gui/components/Component.java

28 lines
509 B

package mightypork.gamecore.gui.components;
import mightypork.gamecore.gui.Enableable;
import mightypork.gamecore.gui.Hideable;
/**
* Basic UI component interface
*
* @author MightyPork
*/
public interface Component extends Enableable, Hideable, PluggableRenderable {
/**
* Render the component, if it is visible.
*/
@Override
void render();
/**
* The bounding rect was changed. The component should now update any cached
* constraints derived from it.
*/
void updateLayout();
}