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