godot_rl_FPS / state_machine /player_state.gd
jtatman's picture
Upload folder using huggingface_hub
333317a verified
raw
history blame
189 Bytes
extends State
class_name PlayerState
var player: Player = null
func init(_player):
_parent = get_parent() as State
player = _player
for child in get_children():
child.init(player)