bovido/scripts/player_state.gd

10 lines
142 B
GDScript3
Raw Normal View History

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