mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 10:35:54 +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
|
|
@ -47,14 +47,15 @@ public partial class EnemyPossessionMovement : ActorFreeMovement
|
|||
{
|
||||
Shoot();
|
||||
}
|
||||
|
||||
if (GetActionJustPressed(ControlEndAction))
|
||||
{
|
||||
if (GameManager.Instance.ToggleControlMode() is GameState.Playing)
|
||||
{
|
||||
ResumeControl();
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Restore control
|
||||
// if (GetActionJustPressed(ControlEndAction))
|
||||
// {
|
||||
// if (GameManager.Instance.ToggleControlMode() is GameState.Playing)
|
||||
// {
|
||||
// ResumeControl();
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
private void Shoot()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue