package edu.smcm.gamedev.butterseal;

public enum BSAssets {
    TITLE(718, 546, _asset("data/images/flame.png")), // flame
    HOUSE(-1, -1, _asset("data/maps/house.tmx")),
    ICE_CAVE(-1, -1, _asset("data/maps/ice-cave.tmx")),
    PLAYER_WALK_UP   (64, 64, _asset("data/spritesheets/player_walk_up.png")),
    PLAYER_WALK_DOWN (64, 64, _asset("data/spritesheets/player_walk_down.png")),
    PLAYER_WALK_LEFT (64, 64, _asset("data/spritesheets/player_walk_left.png")),
    PLAYER_WALK_RIGHT(64, 64, _asset("data/spritesheets/player_walk_right.png")),
    PLAYER_IDLE_STATE(64, 64, _asset("data/spritesheets/player_idle_state.png")),
    ICE_CAVE_ENTRY(-1, -1, _asset("data/maps/ice-cave-entry.tmx"));
	
    private static String _asset(String p) {
        return p;
        //return String.format("data/../../../assets/%s", p);
    }
	
    /**
     * Intended height of this sprite in pixels 
     */
    private final int height;
    /**
     * Intended width of this sprite in pixels
     */
    private final int width;
    /**
     * file path of the sprite
     */
    private final String assetPath;

    /**
     * Creates a new SpriteDimension
     * @param height the intended height of this sprite in pixels
     * @param width the intended width of this sprite in pixels
     */
    BSAssets(int width, int height, String assetPath) {
        this.height = height;
        this.width = width;
        this.assetPath = assetPath;
    }

    public String getAssetPath() {
        return assetPath;
    }
}
// Local Variables:
// indent-tabs-mode: nil
// End:

@@ -74,23 +74,16 @@
 8, 546, 
-_asset(
 %22data/im
@@ -102,19 +102,9 @@
 ng%22)
-), // flame
+,
 %0A   
@@ -110,39 +110,32 @@
   HOUSE(-1, -1, 
-_asset(
 %22data/maps/house
@@ -136,25 +136,24 @@
 /house.tmx%22)
-)
 ,%0A    ICE_CA
@@ -155,39 +155,32 @@
 CE_CAVE(-1, -1, 
-_asset(
 %22data/maps/ice-c
@@ -188,17 +188,16 @@
 ve.tmx%22)
-)
 ,%0A    PL
@@ -212,39 +212,32 @@
 K_UP   (64, 64, 
-_asset(
 %22data/spriteshee
@@ -255,25 +255,24 @@
 alk_up.png%22)
-)
 ,%0A    PLAYER
@@ -283,39 +283,32 @@
 K_DOWN (64, 64, 
-_asset(
 %22data/spriteshee
@@ -328,25 +328,24 @@
 k_down.png%22)
-)
 ,%0A    PLAYER
@@ -356,39 +356,32 @@
 K_LEFT (64, 64, 
-_asset(
 %22data/spriteshee
@@ -401,25 +401,24 @@
 k_left.png%22)
-)
 ,%0A    PLAYER
@@ -429,39 +429,32 @@
 K_RIGHT(64, 64, 
-_asset(
 %22data/spriteshee
@@ -475,25 +475,24 @@
 _right.png%22)
-)
 ,%0A    PLAYER
@@ -511,23 +511,16 @@
 64, 64, 
-_asset(
 %22data/sp
@@ -553,17 +553,16 @@
 te.png%22)
-)
 ,%0A    IC
@@ -582,23 +582,16 @@
 -1, -1, 
-_asset(
 %22data/ma
@@ -617,145 +617,10 @@
 mx%22)
-)
 ;%0A
-%09%0A    private static String _asset(String p) %7B%0A        return p;%0A        //return String.format(%22data/../../../assets/%25s%22, p);%0A    %7D%0A%09
 %0A   

Remove dead asset code