docs: @Override
      public void run() {
          try {
              Thread.sleep(1000);
          } catch (InterruptedException e) {
  
          }
          //TODO replace me with a timer task
          while (running) {
              try {
                  Thread.sleep(1000);
              } catch (InterruptedException e) {
                  e.printStackTrace();
              }
              if (needsDataRefresh) {
                  if (System.currentTimeMillis() - lastMovement > 500) {
                      generateMap();
                      needsDataRefresh = false;
                  }
              }
          }
      }