Comments added to charLength function

This commit is contained in:
cerevisiae 2010-12-01 21:29:50 -06:00
parent 6c922a02c8
commit a0552c1f31

View File

@ -132,6 +132,12 @@ public class vMinecraftChat {
return output; return output;
} }
//=====================================================================
//Function: charLength
//Input: char x: The character to find the length of.
//Output: int: The length of the character
//Use: Finds the visual length of the character on the screen.
//=====================================================================
private static int charLength(char x) private static int charLength(char x)
{ {
if("i;,.:|!".indexOf(x) != -1) if("i;,.:|!".indexOf(x) != -1)