mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
5d3bc289b6
Mark things as sealed as they shouldn't be inherited from or overriden in a derived class.
18 lines
No EOL
439 B
C#
18 lines
No EOL
439 B
C#
using System.Drawing;
|
|
using PKHeX.Core;
|
|
using PKHeX.Drawing;
|
|
|
|
namespace PKHeX.WinForms
|
|
{
|
|
/// <summary>
|
|
/// Bind-able summary object that can fetch sprite and strings that summarize a <see cref="PKM"/>.
|
|
/// </summary>
|
|
public sealed class PKMSummaryImage : PKMSummary
|
|
{
|
|
public Image Sprite => pkm.Sprite();
|
|
|
|
public PKMSummaryImage(PKM p, GameStrings strings) : base(p, strings)
|
|
{
|
|
}
|
|
}
|
|
} |