Attempt to refactor components.
This commit is contained in:
parent
e3fb082139
commit
79122a074e
15 changed files with 241 additions and 112 deletions
|
|
@ -1,7 +1,7 @@
|
|||
class_name ShootComponent extends Node
|
||||
|
||||
@onready var weapon_component: Node = %WeaponComponent
|
||||
@onready var player: Player = $".."
|
||||
@onready var player = $"../Player"
|
||||
|
||||
func shoot():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue