helpText = "Writes entity information out into a file named \"entityDump.txt\".")
public void dumpEntities() throws IOException {
EngineEntityManager engineEntityManager = (EngineEntityManager) entityManager;
PrefabSerializer prefabSerializer = new PrefabSerializer(engineEntityManager.getComponentLibrary(), engineEntityManager.getTypeSerializerLibrary());
WorldDumper worldDumper = new WorldDumper(engineEntityManager, prefabSerializer);
worldDumper.save(PathManager.getInstance().getHomePath().resolve("entityDump.txt"));
}
// TODO: Fix this up for multiplayer (cannot at the moment due to the use of the camera)
@Command(shortDescription = "Spawns an instance of a prefab in the world")
public String spawnPrefab(@CommandParam("prefabId") String prefabName, EntityRef entity) {