<commit_before># main node to start game with, holds background, does ship spawing
extends Node2D

func _ready():
	print ("reset everything - new game")

	var camera_scn = load(global.scene_path_camera)
	var camera_node = camera_scn.instance()
	add_child(camera_node, true)

	for i in range(1): spawn_enemy()

	for i in range(1): spawn_tower()

	for i in range(2): spawn_pickup()


	# Background node
	# player_manager node

func spawn_player(processor, device_details):
	var player_scn = load(global.scene_path_player)
	var player_node = player_scn.instance()
	get_node("ships").add_child(player_node, true)

	player_node.get_node("processor_selector").set_processor(processor)
	player_node.get_node("processor_selector").set_processor_details(device_details)

func spawn_enemy():
	var scn = load(global.scene_path_enemy)
	var node = scn.instance()
	get_node("ships").add_child(node, true)

func spawn_tower():
	var scn = load(global.scene_path_tower)
	var node = scn.instance()
	get_node("ships").add_child(node, true)

func spawn_pickup():
	var scn = load(global.scene_path_pickup)
	var node = scn.instance()
	get_node("objects").add_child(node, true)<commit_msg>Add another user. Mock chris<commit_after># main node to start game with, holds background, does ship spawing
extends Node2D

func _ready():
	print ("reset everything - new game")

	var camera_scn = load(global.scene_path_camera)
	var camera_node = camera_scn.instance()
	add_child(camera_node, true)

	for i in range(2): spawn_enemy()

	for i in range(1): spawn_tower()

	for i in range(2): spawn_pickup()


	# Background node
	# player_manager node

func spawn_player(processor, device_details):
	var player_scn = load(global.scene_path_player)
	var player_node = player_scn.instance()
	get_node("ships").add_child(player_node, true)

	player_node.get_node("processor_selector").set_processor(processor)
	player_node.get_node("processor_selector").set_processor_details(device_details)

func spawn_enemy():
	var scn = load(global.scene_path_enemy)
	var node = scn.instance()
	get_node("ships").add_child(node, true)

func spawn_tower():
	var scn = load(global.scene_path_tower)
	var node = scn.instance()
	get_node("ships").add_child(node, true)

func spawn_pickup():
	var scn = load(global.scene_path_pickup)
	var node = scn.instance()
	get_node("objects").add_child(node, true)
{'fraction_non_alphanumeric': 0.11546655304644227, 'fraction_numerical': 0.0034086067319982955, 'mean_word_length': 6.3375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1729159', 'n_tokens_mistral': 829, 'n_tokens_neox': 813, 'n_words': 185}