chore(StateMainMenu): include message in toString representation for debugging
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.core.modes;
+import com.google.common.base.MoreObjects;
import org.terasology.engine.audio.AudioManager;
import org.terasology.engine.config.Config;
import org.terasology.engine.config.TelemetryConfig;
@@ -160,4 +161,11 @@ public boolean isHibernationAllowed() {
private void updateUserInterface(float delta) {
nuiManager.update(delta);
}
+
+ @Override
+ public String toString() {
+ return MoreObjects.toStringHelper(this)
+ .add("messageOnLoad", messageOnLoad)
+ .toString();
+ }
}
