More testing

This commit is contained in:
Anuken
2019-09-25 16:23:37 -04:00
parent 289ab44ed5
commit 48bf88f99d
2 changed files with 9 additions and 6 deletions

View File

@@ -72,6 +72,11 @@ public class Player extends Unit implements BuilderMinerTrait, ShooterTrait{
private Vector2 movement = new Vector2();
private boolean moved;
{
RuntimeException e = new RuntimeException("player " + name);
Core.app.post(e::printStackTrace);
}
//endregion
//region unit and event overrides, utility methods
@@ -254,7 +259,7 @@ public class Player extends Unit implements BuilderMinerTrait, ShooterTrait{
@Override
public String toString(){
return "Player{" + id + ", mech=" + mech.name + ", local=" + isLocal + ", " + x + ", " + y + "}";
return "Player{" + name + ", mech=" + mech.name + ", id=" + id + ", local=" + isLocal + ", " + x + ", " + y + "}";
}
@Override