MORTEVIELLE: Split resetVariables in two, reuse it in engine constructor