summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Pawn.java
blob: b360eaa376e47de4aaeef52807b8631ca4bb21cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package ch.asynk.tankontank.game;

import com.badlogic.gdx.math.Vector3;

public interface Pawn
{
    // libgdx

    public float getWidth();
    public float getHeight();
    public void setZIndex(int z);

    // game

    public Vector3 getLastPosition();

    public void moveBy(float x, float y);

    public void pushMove(float x, float y, int z, HexOrientation o);

    public void resetMoves(Runnable cb);

    public void moveDone();
}