13 lines
347 B
C#
13 lines
347 B
C#
namespace GameCore.State;
|
|
|
|
public interface IGameStateService
|
|
{
|
|
GameStatus CurrentStatus { get; }
|
|
string CurrentLevelId { get; }
|
|
IReadOnlyCollection<string> UnlockedLevelIds { get; }
|
|
|
|
void SetStatus(GameStatus newStatus);
|
|
void StartGame(string startingLevelId);
|
|
void UnlockLevel(string levelId);
|
|
void ResetProgress();
|
|
} |