public static function setupRobotLoader(?callable $callback = null): void
	{
		$loader = new RobotLoader();
		$loader->setTempDirectory(CACHE_DIR);

		if ($callback !== null) {
			$callback($loader);
		} else {
			$loader->addDirectory(ENGINE_DIR);
			$loader->addDirectory(APP_DIR);
			$loader->setAutoRefresh(true);
		}

		$loader->register();
	}