Add basic intro countdown and game states

This commit is contained in:
BuyMyMojo 2023-03-03 09:13:47 +11:00
parent 89e482d387
commit 15abaa80fa
10 changed files with 740 additions and 6 deletions

View file

@ -34,14 +34,19 @@ public class Player : MonoBehaviour, IKitchenObjectParent
private void GameInput_OnInteractAlteranteAction(object sender, EventArgs e)
{
if (GameStateManager.Instace.IsGamePlaying()) return;
if (selectedCounter != null)
{
selectedCounter.InteractAlternate(this);
}
}
private void GameInput_OnInteractAction(object sender, System.EventArgs e)
{
if (GameStateManager.Instace.IsGamePlaying()) return;
if (selectedCounter != null)
{
selectedCounter.Interact(this);