/// 2次元配列版 public static void drawLog(object[,] logObjects) { string log = ""; for (int y = 0; y < logObjects.GetLength(0); y++) { for (int x = 0; x < logObjects.GetLength(1); x++) { log += logObjects.ToString(); } log += "\n"; } LogDrawer.drawLog(log); }
private void drawDebugLog() { ///盤面デバッグ表示 string log = ""; for (int y = 0; y < YPOINTMAX; y++) { for (int x = 0; x < XPOINTMAX; x++) { log += Board.getElement(x, y).currentBallState.GetType() + " "; } log += "\n"; } LogDrawer.drawLog(log); }