blob: ce9372bf41a8131d2a6251b4cf5aaa3c5e3acb61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package ch.asynk.gdx.tabletop;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
public interface Drawable
{
public float getX();
public float getY();
public float getWidth();
public float getHeight();
public float getInnerX();
public float getInnerY();
public float getInnerWidth();
public float getInnerHeight();
public void draw(Batch batch);
default public void drawDebug(ShapeRenderer debugShapes) { }
public void setPosition(float x, float y, float w, float h);
}
|