FuncWorks.XNA.XTiled.Map.GetObjectsInRegion C# (CSharp) 메소드

GetObjectsInRegion() 공개 메소드

Returns a collection of MapObjects inside the given region
public GetObjectsInRegion ( Rectangle region ) : IEnumerable
region Microsoft.Xna.Framework.Rectangle The region, in pixles, to check
리턴 IEnumerable
        public IEnumerable<MapObject> GetObjectsInRegion(Rectangle region)
        {
            return this.GetObjectsInRegion(ref region);
        }

Same methods

Map::GetObjectsInRegion ( Int32 objectLayerID, Rectangle region ) : IEnumerable