DO-33 [Style] TODO 추가 코드 정리

This commit is contained in:
Lim0_C 2025-03-18 10:55:49 +09:00
parent 302596b1fb
commit 6975cb8aa5
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,8 @@ public class PlayerState : BasePlayerState
public override void OnExit(GameLogic gameLogic) public override void OnExit(GameLogic gameLogic)
{ {
//TODO: 렌주 룰 금수자리 초기화
gameLogic.fioTimer.InitTimer(); gameLogic.fioTimer.InitTimer();
gameLogic.stoneController.OnStoneClickedDelegate = null; gameLogic.stoneController.OnStoneClickedDelegate = null;
} }

View File

@ -142,6 +142,10 @@ public class GameManager : Singleton<GameManager>
{ {
if (scene.name == "Game") if (scene.name == "Game")
{ {
if (_gameType == Enums.GameType.Replay)
{
//TODO: 리플레이를 위한 초기화
}
_stoneController = GameObject.FindObjectOfType<StoneController>(); _stoneController = GameObject.FindObjectOfType<StoneController>();
_stoneController.InitStones(); _stoneController.InitStones();
var fioTimer = FindObjectOfType<FioTimer>(); var fioTimer = FindObjectOfType<FioTimer>();