blob: bfd6d79c4c1504c51d452a71ba09e56af2700b83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using Godot;
using TheLegendOfGustav.Entities.Actions;
using TheLegendOfGustav.Entities.Actors;
namespace TheLegendOfGustav.InputHandling;
/// <summary>
/// Esquema de controles para quando o jogador está morto.
/// </summary>
public partial class GameOverInputHandler : BaseInputHandler
{
// Por enquanto não tem nada.
public override Action GetAction(Player player)
{
Action action = null;
if (Input.IsActionJustPressed("quit"))
{
action = new EscapeAction(player);
}
return action;
}
}
|