Initial Checkin of Code
This commit is contained in:
parent
19b557ee9b
commit
0bee2ee47b
44 changed files with 7965 additions and 0 deletions
18
Library/Characters/CharacterInput.cs
Normal file
18
Library/Characters/CharacterInput.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using Godot;
|
||||
using PokemonLike.Library.Support;
|
||||
|
||||
namespace PokemonLike.Library.Characters;
|
||||
|
||||
[GlobalClass]
|
||||
public abstract partial class CharacterInput : Node
|
||||
{
|
||||
[Signal]
|
||||
public delegate void WalkEventHandler();
|
||||
|
||||
[Signal]
|
||||
public delegate void TurnEventHandler();
|
||||
|
||||
[ExportCategory("Common Input")]
|
||||
[Export] public Vector2 Direction = Vector2.Zero;
|
||||
[Export] public Vector2 TargetPosition = Vector2.Zero;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue