Setup playstate.