feat: 주석 추가 및 기본 하트 충전시간 조정
This commit is contained in:
@@ -13,7 +13,7 @@ namespace TON
|
|||||||
private int characterId;
|
private int characterId;
|
||||||
|
|
||||||
public int maxHearts = 3;
|
public int maxHearts = 3;
|
||||||
public int heartRechargeTime = 600;
|
public int heartRechargeTime = 360; // 하트 충전 시간 6분
|
||||||
|
|
||||||
public int GetCurrentHearts() => currentHeartData.currentHearts;
|
public int GetCurrentHearts() => currentHeartData.currentHearts;
|
||||||
public DateTime GetLastHeartTime() => DateTime.Parse(currentHeartData.lastHeartTime);
|
public DateTime GetLastHeartTime() => DateTime.Parse(currentHeartData.lastHeartTime);
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ namespace TON
|
|||||||
{
|
{
|
||||||
if (HeartDataManager.Singleton.GetCurrentHearts() >= HeartDataManager.Singleton.maxHearts)
|
if (HeartDataManager.Singleton.GetCurrentHearts() >= HeartDataManager.Singleton.maxHearts)
|
||||||
{
|
{
|
||||||
timerText.text = "0:00";
|
timerText.text = "6:00";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ namespace TON
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
timerText.text = $"{timeLeft / 60:D2}:{timeLeft % 60:D2}"; // mm:ss 포맷
|
timerText.text = $"{timeLeft / 60}:{timeLeft % 60:D2}"; // m:ss 포맷
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,9 @@ namespace TON
|
|||||||
public string stageId;
|
public string stageId;
|
||||||
private SerializableDictionary<string, StageClearData> bestStageClearDict = new SerializableDictionary<string, StageClearData>();
|
private SerializableDictionary<string, StageClearData> bestStageClearDict = new SerializableDictionary<string, StageClearData>();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 스테이지 1개 축소 및 게임 장르 변경으로 아래 메소드 사용하지 않음음
|
||||||
|
/// </summary>
|
||||||
public void Initalize(string stageId)
|
public void Initalize(string stageId)
|
||||||
{
|
{
|
||||||
this.stageId = stageId;
|
this.stageId = stageId;
|
||||||
|
|||||||
Reference in New Issue
Block a user