-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CmdCalledType and TextEnumColors
- Loading branch information
1 parent
fbc50bb
commit 4841c2c
Showing
2 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
...src/main/java/org/imesense/dynamicspawncontrol/technical/customlibrary/CmdCalledType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
package org.imesense.dynamicspawncontrol.technical.customlibrary; | ||
|
||
/** | ||
* | ||
*/ | ||
public enum CmdCalledType | ||
{ | ||
/** | ||
* | ||
*/ | ||
HIT("[Hit]"), | ||
|
||
/** | ||
* | ||
*/ | ||
CMD("[Command]"), | ||
|
||
/** | ||
* | ||
*/ | ||
TIMER("[Timer]"), | ||
|
||
/** | ||
* | ||
*/ | ||
SIGNAL("[Signal]"), | ||
|
||
/** | ||
* | ||
*/ | ||
MESSAGE("[Message]"), | ||
|
||
/** | ||
* | ||
*/ | ||
ITEM_DROP("[Item drop]"); | ||
|
||
/** | ||
* | ||
*/ | ||
private final String description; | ||
|
||
/** | ||
* | ||
* @param description | ||
*/ | ||
CmdCalledType(String description) | ||
{ | ||
this.description = description; | ||
} | ||
|
||
/** | ||
* | ||
* @return | ||
*/ | ||
public String getDescription() | ||
{ | ||
return this.description; | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
...rc/main/java/org/imesense/dynamicspawncontrol/technical/customlibrary/TextEnumColors.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
package org.imesense.dynamicspawncontrol.technical.customlibrary; | ||
|
||
/** | ||
* | ||
*/ | ||
public enum TextEnumColors | ||
{ | ||
/** | ||
* | ||
*/ | ||
RED("c"), | ||
|
||
/** | ||
* | ||
*/ | ||
AQUA("b"), | ||
|
||
/** | ||
* | ||
*/ | ||
GOLD("6"), | ||
|
||
/** | ||
* | ||
*/ | ||
GRAY("7"), | ||
|
||
/** | ||
* | ||
*/ | ||
BLUE("9"), | ||
|
||
/** | ||
* | ||
*/ | ||
WHITE("f"), | ||
|
||
/** | ||
* | ||
*/ | ||
GREEN("a"), | ||
|
||
/** | ||
* | ||
*/ | ||
BLACK("0"), | ||
|
||
/** | ||
* | ||
*/ | ||
PURPLE("d"), | ||
|
||
/** | ||
* | ||
*/ | ||
YELLOW("e"); | ||
|
||
private final String code; | ||
|
||
/** | ||
* | ||
* @param code | ||
*/ | ||
TextEnumColors(String code) | ||
{ | ||
this.code = code; | ||
} | ||
|
||
/** | ||
* | ||
* @return | ||
*/ | ||
public String getCode() | ||
{ | ||
return this.code; | ||
} | ||
} |