add system constants
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
package org.project.constants.appConstants;
|
||||||
|
|
||||||
|
public class ConsoleColor {
|
||||||
|
public static final String Reset = "\\u001B[0m";
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package org.project.constants.appConstants;
|
||||||
|
|
||||||
|
public enum GameModes {
|
||||||
|
SINGLE_PLAYER,
|
||||||
|
MULTI_PLAYER_LOCAL
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package org.project.constants.appConstants;
|
||||||
|
|
||||||
|
public class TextColor extends ConsoleColor{
|
||||||
|
public static String Black = "\\u001B[30m";
|
||||||
|
public static String Red = "\\u001B[31m";
|
||||||
|
public static String Green = "\\u001B[32m";
|
||||||
|
public static String Yellow = "\\u001B[33m";
|
||||||
|
public static String Blue = "\\u001B[34m";
|
||||||
|
public static String Magenta = "\\u001B[35m";
|
||||||
|
public static String Cyan = "\\u001B[36m";
|
||||||
|
public static String White = "\\u001B[37m";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user