Package tools
Class Constants
java.lang.Object
tools.Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
200% zoom.static final boolean
static final float
Virtual width and height.static final int
Frames per seconds.static final float
static final float
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns the absolute path to the resource inside the "assets" folder.static String
Returns the absolute path to the resource inside the "assets" folder.static String
Returns the absolute path to the resource inside the "assets" folder.static String
Returns the absolute path to the resource inside the "assets" folder.
-
Field Details
-
WINDOW_WIDTH
public static final int WINDOW_WIDTH- See Also:
-
WINDOW_HEIGHT
public static final int WINDOW_HEIGHT- See Also:
-
FRAME_RATE
public static final int FRAME_RATEFrames per seconds.- See Also:
-
FIELD_WIDTH_AND_HEIGHT_IN_PIXEL
public static final float FIELD_WIDTH_AND_HEIGHT_IN_PIXELVirtual width and height.- See Also:
-
VIRTUAL_WIDTH
public static final float VIRTUAL_WIDTH- See Also:
-
VIRTUAL_HEIGHT
public static final float VIRTUAL_HEIGHT- See Also:
-
DEFAULT_ZOOM_FACTOR
public static final float DEFAULT_ZOOM_FACTOR200% zoom.- See Also:
-
DISABLE_REPLACEMENTS
public static final boolean DISABLE_REPLACEMENTS- See Also:
-
-
Constructor Details
-
Constants
public Constants()
-
-
Method Details
-
getPathToLevel
Returns the absolute path to the resource inside the "assets" folder. The location of the "assets" folder is determined dynamically.- Returns:
- the absolute path to the resource inside the "assets" folder.
-
getPathToGraph
Returns the absolute path to the resource inside the "assets" folder. The location of the "assets" folder is determined dynamically.- Returns:
- the absolute path to the resource inside the "assets" folder.
-
getPathToRoomTemplates
Returns the absolute path to the resource inside the "assets" folder. The location of the "assets" folder is determined dynamically.- Returns:
- the absolute path to the resource inside the "assets" folder.
-
getPathToReplacements
Returns the absolute path to the resource inside the "assets" folder. The location of the "assets" folder is determined dynamically.- Returns:
- the absolute path to the resource inside the "assets" folder.
-