public EnvObserver(EnvironmentObject env) { m_region = new Region(); foreach (var ob in env.Inventory.OfType<ItemObject>().Where(item => item.ItemCategory == ItemCategory.Workbench)) m_region.Add(new IntGrid2Z(ob.Location.ToIntPoint() - new IntVector2(2, 2), new IntSize2(5, 5), ob.Location.Z)); }
public EnvObserver(EnvironmentObject env) { m_region = new Region(); }