//unitdata = new unit(); pos = new vec2(0, 0);