summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Pawn.java
blob: 71e225af06a3e580993826c0e5b6f59deb3620a3 (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, Hex.Orientation o);

    public void resetMoves(Runnable cb);

    public void moveDone();
}