Skip to content

Commit

Permalink
Fix - エンコード形式を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
youkura-ikuzee committed Feb 11, 2024
1 parent 7cb0302 commit 8fc3ac5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Assets/Scripts/Shogi/CaptureAreaData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using MyShogi.Model.Shogi.Core;
using UnityEngine;
using UnityEngine.UI;
Expand All @@ -17,7 +17,7 @@ public interface ICapturePieceNum
int king { get; set; }
}

// 先手後手の持ち駒に関する情報を管理するクラス
// 先手後手の持ち駒に関する情報を管理するクラス
public class CapturePieceAreaData
{
public ICapturePieceNum blackCapturePiece;
Expand Down Expand Up @@ -52,7 +52,7 @@ private void InitCaptureArea()
{
blackCapturePiece = CreateEmptyCapturePiece();
whiteCapturePiece = CreateEmptyCapturePiece();
Debug.Log("持ち駒情報の初期化が完了");
Debug.Log("持ち駒情報の初期化が完了");
}

public int getPieceNum(PieceType pieceType, bool isBlack)
Expand Down Expand Up @@ -95,7 +95,7 @@ public void UpdateCapturePieceData(PieceType pieceType, bool isBlack, bool isCap
{
ICapturePieceNum capturePiece = isBlack ? blackCapturePiece : whiteCapturePiece;

// 持ち駒を消費した場合と取得し場合で更新式を分岐
// 持ち駒を消費した場合と取得し場合で更新式を分岐
switch (pieceType)
{
case PieceType.BlackPawn:
Expand Down

0 comments on commit 8fc3ac5

Please sign in to comment.