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.
28 lines
563 B
28 lines
563 B
package mightypork.gamecore.gui.components;
|
|
|
|
|
|
import mightypork.gamecore.render.Renderable;
|
|
import mightypork.utils.math.constraints.rect.PluggableRectBound;
|
|
import mightypork.utils.math.constraints.rect.Rect;
|
|
import mightypork.utils.math.constraints.rect.RectBound;
|
|
|
|
|
|
/**
|
|
* Renderable that can be assigned different context
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public interface PluggableRenderable extends Renderable, PluggableRectBound {
|
|
|
|
@Override
|
|
void render();
|
|
|
|
|
|
@Override
|
|
Rect getRect();
|
|
|
|
|
|
@Override
|
|
void setRect(RectBound rect);
|
|
|
|
}
|
|
|