public static int AddLine(Vector2 startPt, Vector2 endPt, Color color) { /* A line between the given points will be drawn. * The returned value represents the hash or name * of the line and should be presented to the * RemoveLine(...) function if the line is to be * removed. * * The returned line hash will NEVER be 0. */ previousLineName += 1; int newLineName = previousLineName; NocabLine newLine = NocabLinePooler.getLine(startPt, endPt, color); lines.Add(newLineName, newLine); return(previousLineName); }