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.
27 lines
490 B
27 lines
490 B
package mightypork.gamecore.gui.components;
|
|
|
|
|
|
import mightypork.utils.math.constraints.PluggableRect;
|
|
import mightypork.utils.math.constraints.RectConstraint;
|
|
import mightypork.utils.math.rect.RectValue;
|
|
|
|
|
|
/**
|
|
* Renderable that can be assigned different context
|
|
*
|
|
* @author MightyPork
|
|
*/
|
|
public interface PluggableRenderable extends Renderable, PluggableRect {
|
|
|
|
@Override
|
|
void render();
|
|
|
|
|
|
@Override
|
|
RectValue getRect();
|
|
|
|
|
|
@Override
|
|
void setContext(RectConstraint rect);
|
|
|
|
}
|
|
|