PKHeX/PKHeX.WinForms/Subforms/Misc/EntitySummaryImage.cs

20 lines
508 B
C#
Raw Normal View History

2019-07-14 00:43:05 +00:00
using System.Drawing;
using PKHeX.Core;
using PKHeX.Drawing.PokeSprite;
2019-07-14 00:43:05 +00:00
namespace PKHeX.WinForms;
/// <summary>
/// Bind-able summary object that can fetch sprite and strings that summarize a <see cref="PKM"/>.
/// </summary>
public sealed class EntitySummaryImage : EntitySummary
2019-07-14 00:43:05 +00:00
{
public Image Sprite => pk.Sprite();
public override string Position { get; }
2019-07-14 00:43:05 +00:00
public EntitySummaryImage(PKM p, GameStrings strings, string position) : base(p, strings)
{
Position = position;
2019-07-14 00:43:05 +00:00
}
}