rearengement
This commit is contained in:
7
script/wall.gd
Normal file
7
script/wall.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends Node2D
|
||||
|
||||
@export var spawner: Node2D
|
||||
|
||||
func _body_entered_for_multiple(body: Node2D) -> void:
|
||||
if body.is_in_group("asteroid") and body.get("is_firt_entree") == false:
|
||||
spawner.spawn()
|
||||
Reference in New Issue
Block a user