Update MainEngine.hpp