10 lines
142 B
GDScript
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)
|