Update ScreenMap state in a single pass at the end of the tick.
This commit is contained in:
@@ -62,6 +62,11 @@ namespace OpenRA.Primitives
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Contains(T item)
|
||||
{
|
||||
return itemBounds.ContainsKey(item);
|
||||
}
|
||||
|
||||
Dictionary<T, Rectangle> BinAt(int row, int col)
|
||||
{
|
||||
return itemBoundsBins[row * cols + col];
|
||||
|
||||
Reference in New Issue
Block a user