mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
HasMap to String, Asset instead of Long Asset
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user