Browse Source

Comments added to charLength function

cerevisiae 14 years ago
parent
commit
a0552c1f31
1 changed files with 6 additions and 0 deletions
  1. 6 0
      vMinecraftChat.java

+ 6 - 0
vMinecraftChat.java

@@ -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)