internal FireBarrel[] Filter(FireBarrel[] fires, Fire kind) { return (from f in fires where f.name.StartsWith(kind.ToString()) select f).ToArray<FireBarrel>(); }
internal FireBarrel[] Filter(FireBarrel[] sleepers, string id) { return (from s in sleepers where s.GetComponent<DeployableObject>().ownerID.ToString() == id select s).ToArray<FireBarrel>(); }