Versatile Java game engine with pluggable backends (this was used in Rogue, I think)
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.
gamecore/src/mightypork/gamecore/gui/components/PluggableRenderable.java

29 lines
558 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
*
10 years ago
* @author Ondřej Hruška (MightyPork)
*/
public interface PluggableRenderable extends Renderable, PluggableRectBound {
10 years ago
@Override
void render();
10 years ago
@Override
Rect getRect();
10 years ago
@Override
void setRect(RectBound rect);
10 years ago
}