added jump script

This commit is contained in:
derek
2025-06-16 12:01:06 -05:00
parent 38ac1aa76f
commit 7fe59a9ecc
4 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
extends Node
class_name PlayerStateMachine
@export var player : Player
@export var character : Player
@export var initial_state : State
var current_state : State
@@ -39,4 +39,4 @@ func on_child_transition(state,new_state_name):
new_state.Enter()
current_state = new_state
print("STATE CHANGED TO : ",current_state)
print("PLAYER STATE CHANGED TO : ",current_state)