summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Rotable.java
blob: 81ddea8c03fd9e52e7b548b8cf903fee34219e8e (plain)
1
2
3
4
5
6
7
8
package ch.asynk.gdx.boardgame;

public interface Rotable
{
    public float getRotation();
    public void setRotation(float rotation);
    default public void rotate(float r) { setRotation(getRotation() + r); }
}