mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 20:05:53 +00:00
Game state manager and restored inventory
This commit is contained in:
parent
f0f49f8fb4
commit
a0ec2f3d74
27 changed files with 1283 additions and 1175 deletions
|
|
@ -40,14 +40,7 @@ public partial class DialogueTools : RefCounted
|
|||
|
||||
private void ChangeState(GameState state)
|
||||
{
|
||||
if (GameManager.Instance is not null)
|
||||
{
|
||||
GameManager.Instance.ChangeState(state);
|
||||
}
|
||||
else if (GameController.Instance is not null)
|
||||
{
|
||||
GameController.Instance.ChangeState(state);
|
||||
}
|
||||
GameStateManager.Instance.ChangeState(state);
|
||||
}
|
||||
|
||||
private void CreateSkipListener(Node parent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue