瀏覽代碼

Comments added to charLength function

cerevisiae 14 年之前
父節點
當前提交
a0552c1f31
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      vMinecraftChat.java

+ 6 - 0
vMinecraftChat.java

@@ -132,6 +132,12 @@ public class vMinecraftChat {
 		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)
     {
     	if("i;,.:|!".indexOf(x) != -1)