Skip to content

Commit a94b64e

Browse files
committed
chore: remove unnecessary todos
1 parent 4fb258c commit a94b64e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Assets/Scripts/Gameplay/Controllers/Domain/PlayerController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using UnityEngine.InputSystem;
77
using Random = UnityEngine.Random;
88

9-
public class PlayerController : MonoBehaviour { // TODO: refactor this ugly mess
9+
public class PlayerController : MonoBehaviour { // TODO: refactor
1010
public static event Action OnInvertedPosition;
1111
public static event Action OnReachedSwapPoint;
1212
public static event Action OnShouldResetCamera;

Assets/Scripts/General/Services/GameManager.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public void Resume() {
223223
StartCoroutine(TransitionedResume());
224224
}
225225

226-
public void GameOver(Sound.Type gameOverSound = Sound.Type.None) { // TODO: make every UI button function not work when !IsGamePlayable (cuz of fade)
226+
public void GameOver(Sound.Type gameOverSound = Sound.Type.None) {
227227
AudioManager.Instance.PlaySoundOneShot(gameOverSound, 2);
228228

229229
if (!IsGamePlayable) // to avoid GameOver more than once
@@ -256,7 +256,7 @@ public void SpendCoins(int price) {
256256
}
257257

258258
public void ChangeBGMVolume(float value) {
259-
OnUpdateVolume?.Invoke(1, value); // TODO: refactor
259+
OnUpdateVolume?.Invoke(1, value);
260260
OnUpdateVolume?.Invoke(3, value);
261261
}
262262

@@ -367,7 +367,7 @@ private IEnumerator WaitScaleDownTransition(Animator animator) {
367367
}
368368

369369
private void InitializeTrackVolumes() {
370-
InitializeTrackVolume(1); // TODO: refactor
370+
InitializeTrackVolume(1);
371371
InitializeTrackVolume(2);
372372
InitializeTrackVolume(3);
373373
}
@@ -385,7 +385,7 @@ private void AssignSettings(SettingsSaveData data) {
385385
isCurrentlyLowGraphics = data.isLowGraphics;
386386
AssignQuality();
387387

388-
OnUpdateVolume?.Invoke(1, data.bgmVolume); // TODO: refactor
388+
OnUpdateVolume?.Invoke(1, data.bgmVolume);
389389
OnUpdateVolume?.Invoke(2, data.sfxVolume);
390390
OnUpdateVolume?.Invoke(3, data.bgmVolume);
391391
}

0 commit comments

Comments
 (0)