add ProfilingList.RemoveAll()

This commit is contained in:
Colin McMillen 2020-11-19 17:26:05 -05:00
parent 5732d60047
commit 6fed3acdda

View File

@ -1,4 +1,5 @@
using System.Collections;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
@ -60,6 +61,10 @@ namespace SemiColinGames {
return items.Remove(item);
}
public int RemoveAll(Predicate<T> match) {
return items.RemoveAll(match);
}
public void CopyTo(T[] array, int arrayIndex) {
items.CopyTo(array, arrayIndex);
}