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:
8
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
8
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="AutoCloseableResource" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
|
<option name="METHOD_MATCHER_CONFIG" value="java.util.Formatter,format,java.io.Writer,append,com.google.common.base.Preconditions,checkNotNull,org.hibernate.Session,close,java.io.PrintWriter,printf,java.io.PrintStream,printf,java.lang.foreign.Arena,ofAuto,java.lang.foreign.Arena,global,org.toop.framework.audio.AudioPlayer,play" />
|
||||||
|
</inspection_tool>
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
BIN
app/src/main/resources/audio/dramatic.wav
Normal file
BIN
app/src/main/resources/audio/dramatic.wav
Normal file
Binary file not shown.
BIN
app/src/main/resources/audio/hitsound0.wav
Normal file
BIN
app/src/main/resources/audio/hitsound0.wav
Normal file
Binary file not shown.
BIN
app/src/main/resources/audio/hitsound1.wav
Normal file
BIN
app/src/main/resources/audio/hitsound1.wav
Normal file
Binary file not shown.
BIN
app/src/main/resources/audio/suspensful.wav
Normal file
BIN
app/src/main/resources/audio/suspensful.wav
Normal file
Binary file not shown.
@@ -5,7 +5,7 @@ import org.toop.framework.SnowflakeGenerator;
|
|||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
|
|
||||||
public class Asset {
|
public class Asset {
|
||||||
private Long id;
|
private Long id; // IS this needed?
|
||||||
private String name;
|
private String name;
|
||||||
private Path assetPath;
|
private Path assetPath;
|
||||||
private String asset;
|
private String asset;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import java.util.HashMap;
|
|||||||
|
|
||||||
public class AssetManager {
|
public class AssetManager {
|
||||||
|
|
||||||
private HashMap<Long, Asset> assets = new HashMap<>();
|
private HashMap<String, Asset> assets = new HashMap<>();
|
||||||
|
|
||||||
public AssetManager() {
|
public AssetManager() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user