1b: inline field, make fields final
This commit is contained in:
parent
8cccc03881
commit
7d3f773365
@ -15,19 +15,19 @@ import java.io.IOException;
|
||||
* @since 2015-06-19
|
||||
*/
|
||||
public abstract class DisplayableElementModel {
|
||||
private static String spriteStorageFolderPath = "./res/drawable/field/";
|
||||
protected final String spriteName;
|
||||
private final boolean destructible;
|
||||
private final boolean moving;
|
||||
|
||||
private boolean destructible;
|
||||
private boolean moving;
|
||||
private boolean animate;
|
||||
private boolean impactExplosive;
|
||||
protected final String spriteName;
|
||||
private int priority;
|
||||
private BufferedImage sprite;
|
||||
private boolean falling;
|
||||
private boolean convertible;
|
||||
private String collideSound;
|
||||
|
||||
private BufferedImage sprite;
|
||||
|
||||
/**
|
||||
* Class constructor
|
||||
*
|
||||
@ -146,7 +146,7 @@ public abstract class DisplayableElementModel {
|
||||
* @return Folder path of the sprite storage
|
||||
*/
|
||||
private static String getSpriteStorageFolderPath() {
|
||||
return spriteStorageFolderPath;
|
||||
return "./res/drawable/field/";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user