Skip to content

Commit

Permalink
Add CmdCalledType and TextEnumColors
Browse files Browse the repository at this point in the history
  • Loading branch information
OldSerpskiStalker committed Sep 18, 2024
1 parent fbc50bb commit 4841c2c
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 0 deletions.
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;
}
}
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;
}
}

0 comments on commit 4841c2c

Please sign in to comment.