package com.ezardlabs.lostsector.missions;

import com.ezardlabs.dethsquare.GameObject;
import com.ezardlabs.dethsquare.prefabs.PrefabManager;
import com.ezardlabs.lostsector.map.MapManager;
import com.ezardlabs.lostsector.missions.objectives.Cryopod;

public class DefenseMission extends Mission {
	private GameObject[] cryopods;

	@Override
	public void load() {
		MapManager.loadMap("defense0");
		GameObject player = GameObject.instantiate(PrefabManager.loadPrefab("player"), MapManager.playerSpawn);

		instantiateCamera(player);

		cryopods = GameObject.findAllWithTag("cryopod");
		for (int i = 0; i < cryopods.length; i++) {
			cryopods[i].getComponent(Cryopod.class).setId(i);
		}
	}

	public GameObject[] getCryopods() {
		return cryopods;
	}

	public void onCryopodDestroyed(int id) {
		cryopods[id] = null;
		System.out.println("Cryopod " + id + " destroyed!");
	}
}

@@ -816,63 +816,8 @@
 ll;%0A
-%09%09System.out.println(%22Cryopod %22 + id + %22 destroyed!%22);%0A
 %09%7D%0A%7D

Remove log statement