/// <summary> /// 给出人物范围内的道具 /// </summary> /// <param name="range"></param> /// <returns></returns> public IEnumerable <GameEntityT> GetEntitysInRange <GameEntityT>(int iRange) where GameEntityT : WorldEntity { BaseMap tempMap = this.Map; if (tempMap == null) { LOGs.WriteLine(LogMessageType.MSG_ERROR, "GameEntity.GetEntitysInRange(...) - tempMap == null error!"); return(NullEnumerable <GameEntityT> .SingletonInstance); } return(tempMap.GetEntitysInRange <GameEntityT>(this.Location, iRange)); }