Initial Checkin of Code
This commit is contained in:
parent
19b557ee9b
commit
0bee2ee47b
44 changed files with 7965 additions and 0 deletions
15
Library/Characters/Player.cs
Normal file
15
Library/Characters/Player.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Godot;
|
||||
using PokemonLike.Library.Utilities;
|
||||
|
||||
namespace PokemonLike.Library.Characters;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class Player : CharacterBody2D
|
||||
{
|
||||
[Export] public StateMachine StateMachine;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
StateMachine.ChangeState(StateMachine.GetNode<State>("Roam"));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue