public void OnClick() { for (int j = 0; j < characters.Count; j++) { string s = g._cells.IndexOf(characters[j]).ToString(); characters[j] = characters[j].MoveTo(g.RandomNeighbour(characters[j]) as BattleCell); string s1 = g._cells.IndexOf(characters[j]).ToString(); } }