Added reset platforms.

This commit is contained in:
J. M. Ellis
2024-06-02 18:17:21 -07:00
parent d7f84ce34a
commit 6fb291dc73
3 changed files with 25 additions and 0 deletions
+6
View File
@@ -74,6 +74,12 @@ namespace LunaLightXMG
}
// Method Implementation -------------------------------------------------------------------------------
public void Reset(Vector2 initialPosition)
{
position = initialPosition;
// Reset other player-specific states later
}
private void Movement(PlayerInput input)
{
if (input.KeyJump && grounded)