bovido/scripts/player/states/player_state.gd

10 lines
142 B
GDScript

class_name PlayerState
extends State
var player: Player
func _ready():
await owner.ready
player = owner as Player
assert(player != null)