= Directory adjustment
This commit is contained in:
@@ -23,8 +23,9 @@ public class CommandEnabler extends BaseKeyValueFile
|
|||||||
// Local variables
|
// Local variables
|
||||||
private HashMap<String, Boolean> enabledMap; // Quick lookup
|
private HashMap<String, Boolean> enabledMap; // Quick lookup
|
||||||
private ArrayList<String> keyList; // Tracking ordering for later
|
private ArrayList<String> keyList; // Tracking ordering for later
|
||||||
private final static String name = "commands.config";
|
private final static String name = Config.AssetDirectory + "commands.config";
|
||||||
|
|
||||||
|
// Constructor
|
||||||
public CommandEnabler()
|
public CommandEnabler()
|
||||||
{
|
{
|
||||||
super(name);
|
super(name);
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ import java.awt.Color;
|
|||||||
public final class Config
|
public final class Config
|
||||||
{
|
{
|
||||||
public static final Color ColorDefault = new Color(7*16, 8*16, 9*16); // A slate-grey
|
public static final Color ColorDefault = new Color(7*16, 8*16, 9*16); // A slate-grey
|
||||||
|
public static final String AssetDirectory = "./assets/";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import dataStructures.Pair;
|
|||||||
// is performed with general strings in the application
|
// is performed with general strings in the application
|
||||||
public class LocCommands extends BaseLocFile
|
public class LocCommands extends BaseLocFile
|
||||||
{
|
{
|
||||||
public static final String fileName = "locCommands.config";
|
public static final String fileName = Config.AssetDirectory + "locCommands.config";
|
||||||
public static final String function = "LocCommands.stub";
|
public static final String function = "LocCommands.stub";
|
||||||
|
|
||||||
private static LocCommands instance;
|
private static LocCommands instance;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import utils.io.FileMonitor;
|
|||||||
// can then be localized.
|
// can then be localized.
|
||||||
public class LocStrings extends BaseLocFile
|
public class LocStrings extends BaseLocFile
|
||||||
{
|
{
|
||||||
public static final String fileName = "locStrings.config";
|
public static final String fileName = Config.AssetDirectory + "locStrings.config";
|
||||||
public static final String function = "LocStrings.stub";
|
public static final String function = "LocStrings.stub";
|
||||||
|
|
||||||
private static LocStrings instance;
|
private static LocStrings instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user