HasMap to String, Asset instead of Long Asset

This commit is contained in:
Bas de Jong
2025-09-30 11:53:13 +02:00
parent d1da49ad1d
commit 57bd6ded6f
7 changed files with 10 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import org.toop.framework.SnowflakeGenerator;
import java.nio.file.Path;
public class Asset {
private Long id;
private Long id; // IS this needed?
private String name;
private Path assetPath;
private String asset;

View File

@@ -4,7 +4,7 @@ import java.util.HashMap;
public class AssetManager {
private HashMap<Long, Asset> assets = new HashMap<>();
private HashMap<String, Asset> assets = new HashMap<>();
public AssetManager() {