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