First client/server snapshot implementation

This commit is contained in:
Anuken
2018-06-08 12:22:07 -04:00
parent 0bd0602655
commit 8e00bdcf30
7 changed files with 132 additions and 25 deletions

View File

@@ -41,6 +41,10 @@ public class Player extends Unit implements BuilderTrait, CarryTrait {
private static final float dashSpeed = 1.8f;
private static final Vector2 movement = new Vector2();
public static final int timerShootLeft = 0;
public static final int timerShootRight = 1;
public static final int timeSync = 2;
//region instance variables, constructor
public float baseRotation;