public static void activateLevel(LevelScene scene, Component canvasComponent) {
   if (INSTANCE.scene == scene) {
     return;
   }
   if (INSTANCE.scene != null) {
     INSTANCE.deactivate();
   }
   INSTANCE.activate(scene, canvasComponent);
 }
 public static void deactivateLevel(LevelScene scene) {
   Objects.requireNonNull(scene);
   if (INSTANCE.scene != scene) {
     return;
   }
   INSTANCE.deactivate();
 }