Exemple #1
0
        public IList GetIntersectingObjects(Actor actor, Type cls)
        {
            RectBox r = this.GetActorBounds(actor);

            lock (this.actorQuery)
            {
                this.actorQuery.Init(cls, actor);
                return(this.GetIntersectingObjects(r.ToFloat(), this.actorQuery));
            }
        }