Aura.Channel.World.Dungeons.Dungeon.GetCreature C# (CSharp) Метод

GetCreature() публичный Метод

Returns the creature with the given entity id if it could be found in the dungeon's regions, otherwise it returns null.
public GetCreature ( long entityId ) : Creature
entityId long
Результат Aura.Channel.World.Entities.Creature
		public Creature GetCreature(long entityId)
		{
			foreach (var region in this.Regions)
			{
				var creature = region.GetCreature(entityId);
				if (creature != null)
					return creature;
			}

			return null;
		}