예제 #1
0
 /// <summary>
 /// Gets an image representing a particular Neverwinter Nights 2
 /// entity, of a given name and type.
 /// </summary>
 /// <param name="type">The type of entity to get an image of. Examples
 /// include 'Creature', 'Door', 'Placeholder' and 'Other'.</param>
 /// <param name="name">The name of the specific entity of the given
 /// type to get an image of. Usually the tag of an instance or the
 /// ResRef of a blueprint.</param>
 /// <returns>An Image, or null if an exception was raised.</returns>
 public Image GetImage(string type, string name)
 {
     return(imageGetter.GetImage(type, name, true));
 }