Added removeNick, removeSuffix, and removePrefix to remove each respective feature

This commit is contained in:
cerevisiae
2010-12-10 03:15:39 -06:00
parent 8d8553c568
commit 4d730dbd00
4 changed files with 175 additions and 12 deletions

View File

@ -164,7 +164,9 @@ class PlayerList
lastMessage,
nickName,
tag,
suffix;
suffix,
defaultColor;
private ArrayList<String> ignoreList;
private commandList aliasList;
@ -429,6 +431,22 @@ class PlayerList
//=====================================================================
public String getSuffix() { return suffix; }
//=====================================================================
//Function: setColor
//Input: String newTag: The color to set for the player
//Output: None
//Use: Sets a player color
//=====================================================================
public void setColor(String newColor){ defaultColor = newColor; }
//=====================================================================
//Function: getColor
//Input: None
//Output: String: The player color
//Use: Gets a player color
//=====================================================================
public String getColor() { return defaultColor; }
//=====================================================================
//Function: setMessage
//Input: String newName: The name of the player they last messaged