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.
29 lines
565 B
29 lines
565 B
10 years ago
|
package mightypork.gamecore.gui.components;
|
||
|
|
||
|
|
||
|
import mightypork.gamecore.graphics.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);
|
||
|
|
||
|
}
|