init
This commit is contained in:
6
scripts/pickup.gd
Normal file
6
scripts/pickup.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends CharacterBody2D
|
||||
class_name Pickup
|
||||
|
||||
func pickup(rocket: Rocket):
|
||||
if not is_queued_for_deletion():
|
||||
queue_free()
|
||||
Reference in New Issue
Block a user