public void networkServerMessageOut(UdpBroadCast udp) {}
public void networkServerMessageOut(UdpBroadCast udp,double x, double y) {
udp.moveUnit(ID, x, y);
}
public void networkServerMessageIn(ClientEventOut in, GameState g) {
NewConnectionEvent i=(NewConnectionEvent)in;
g.getUnits().put(i.ID, new BasicTestUnit(i.ID,i.sourceId,new Point2D.Double(Math.random()*1350,Math.random()*1350)));
System.out.print("player Created\n");
g.udp.newUnit(i.ID, i.sourceId, i.type, g.getUnits().get(i.ID).getLoc().getX(),g.getUnits().get(i.ID).getLoc().getY());
}