refactor
This commit is contained in:
parent
2d6a6bd3a1
commit
d80e723b94
28 changed files with 1801 additions and 352 deletions
|
|
@ -81,3 +81,22 @@ public enum MapType
|
|||
Temple,
|
||||
Endgame
|
||||
}
|
||||
|
||||
public enum GameUiState
|
||||
{
|
||||
Unknown,
|
||||
Playing,
|
||||
InventoryOpen,
|
||||
StashOpen,
|
||||
VendorOpen,
|
||||
MapOverlay,
|
||||
Loading,
|
||||
Dead,
|
||||
EscapeMenu
|
||||
}
|
||||
|
||||
public interface IGameStateProvider
|
||||
{
|
||||
GameUiState CurrentState { get; }
|
||||
event Action<GameUiState, GameUiState>? StateChanged;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue