Initial Commit

This commit is contained in:
2026-03-16 14:38:46 +02:00
commit b8f7327a21
2327 changed files with 253610 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
using UnityEngine;
namespace FlappyBird.Core
{
public class PlayerPrefsStorage : IPlayerPrefsStorage
{
public bool HasKey(string key)
{
return PlayerPrefs.HasKey(key);
}
public int GetInt(string key, int defaultValue = 0)
{
return PlayerPrefs.GetInt(key, defaultValue);
}
public void SetInt(string key, int value)
{
PlayerPrefs.SetInt(key, value);
}
public void Save()
{
PlayerPrefs.Save();
}
}
}