safe way for add/remove objects of world

This commit is contained in:
2016-12-15 12:59:47 +07:00
parent 2ff0b86135
commit 2d6f8d37f6
2 changed files with 22 additions and 9 deletions

View File

@@ -66,6 +66,10 @@ namespace IsoTools.Internal {
return item;
}
public T Peek() {
return _list.Peek();
}
public void Clear() {
_list.Clear();
_dict.Clear();