Example #1
0
        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));
        }
Example #2
0
 public EnvObserver(EnvironmentObject env)
 {
     m_region = new Region();
 }