10 lines
142 B
GDScript3
10 lines
142 B
GDScript3
|
class_name PlayerState
|
||
|
extends State
|
||
|
|
||
|
var player: Player
|
||
|
|
||
|
func _ready():
|
||
|
await owner.ready
|
||
|
player = owner as Player
|
||
|
assert(player != null)
|