Rogue: Savage Rats, a retro-themed dungeon crawler
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.
|
|
|
package mightypork.gamecore.gui.components;
|
|
|
|
|
|
|
|
|
|
|
|
import mightypork.gamecore.render.Renderable;
|
|
|
|
import mightypork.gamecore.util.math.constraints.rect.Rect;
|
|
|
|
import mightypork.gamecore.util.math.constraints.rect.proxy.PluggableRectBound;
|
|
|
|
import mightypork.gamecore.util.math.constraints.rect.proxy.RectBound;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Renderable that can be assigned different context
|
|
|
|
*
|
|
|
|
* @author MightyPork
|
|
|
|
*/
|
|
|
|
public interface PluggableRenderable extends Renderable, PluggableRectBound {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
void render();
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
Rect getRect();
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
void setRect(RectBound rect);
|
|
|
|
|
|
|
|
}
|