blob: 53559dc1197a4bb5841260b4cdab918d7f47fa0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package ch.asynk.gdx.board;
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);
}
|