DO-31 style: 클래스 네임 변경
- 클래스 네임 변경 - 삼삼 금수 메서드 퍼블릭으로 변경
This commit is contained in:
parent
7541e9195e
commit
2ee42cda99
@ -4,10 +4,10 @@ using UnityEngine;
|
||||
/// <summary>
|
||||
/// 렌주 룰에서 삼삼 금수 위치를 감지하는 클래스
|
||||
/// </summary>
|
||||
public class DoubleThreeDetector :RenjuDetector
|
||||
public class DoubleThreeDetector :RenjuDetectorBase
|
||||
{
|
||||
// 해당 위치가 33 금수인지 반환
|
||||
private bool IsDoubleThree(Enums.PlayerType[,] board, int row, int col)
|
||||
public bool IsDoubleThree(Enums.PlayerType[,] board, int row, int col)
|
||||
{
|
||||
// 빈 위치가 아니면 검사할 필요 없음
|
||||
if (!IsEmptyPosition(board, row, col))
|
||||
|
@ -1,6 +1,6 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class RenjuDetector
|
||||
public class RenjuDetectorBase
|
||||
{
|
||||
// 방향 배열 (가로, 세로, 대각선)
|
||||
private protected Vector2Int[] directions =
|
Loading…
x
Reference in New Issue
Block a user