Initial Checkin of Code
This commit is contained in:
parent
19b557ee9b
commit
0bee2ee47b
44 changed files with 7965 additions and 0 deletions
20
Library/Utilities/State.cs
Normal file
20
Library/Utilities/State.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using Godot;
|
||||
using PokemonLike.Library.Support;
|
||||
|
||||
namespace PokemonLike.Library.Utilities;
|
||||
|
||||
[GlobalClass]
|
||||
public abstract partial class State : Node
|
||||
{
|
||||
[Export] public Node StateOwner;
|
||||
|
||||
public virtual void EnterState()
|
||||
{
|
||||
Logger.Info($"Entering {GetType().Name} state ...");
|
||||
}
|
||||
|
||||
public virtual void ExitState()
|
||||
{
|
||||
Logger.Info($"Exiting {GetType().Name} state ...");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue