init
This commit is contained in:
9
scripts/space_pod.gd
Normal file
9
scripts/space_pod.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
extends Pickup
|
||||
class_name SpacePod
|
||||
|
||||
var pod_data: FloatingPodData
|
||||
|
||||
func pickup(rocket: Rocket):
|
||||
if not is_queued_for_deletion():
|
||||
DataHandler.retrive_pod(pod_data)
|
||||
super(rocket)
|
||||
Reference in New Issue
Block a user