//unitdata = new unit(); pos = new vec2(0, 0); state = st_standing; drawstate = c_null; hspd = 0; vspd = 0; returnpos = new vec2(0, 0);