public void TrackBloonToSim(BloonToSimulation bloon) { if (currentBloonToSims.ContainsKey(bloon.GetId())) { currentBloonToSims[bloon.GetId()] = bloon; return; } currentBloonToSims.Add(bloon.GetId(), bloon); }
public void StopTrackingBloonToSim(BloonToSimulation bloon) => StopTrackingBloonToSim(bloon.GetId());
/// <summary> /// (Cross-Game compatible) Return the Simulation Bloon for this specific BloonToSimulation. Returns object of class Bloon /// </summary> public static Bloon GetBloon(this BloonToSimulation bloonToSim) { return(SessionData.bloonTracker.GetBloon(bloonToSim.GetId())); }