Spending/Currency.cs
using System.Text.Json.Serialization;

namespace PlanetMeat;

[AssetType( Category = "Planet Meat", Name = "Currency", Extension = "bux" )]
public partial class Currency : GameResource
{
	public string Ident { get; set; } = "";
	public Color Color { get; set; } = Color.White;
	public string ImagePath { get; set; }

	[JsonIgnore] public Bank.Account Account => Bank.Current.GetAccount( Ident );

	protected override Bitmap CreateAssetTypeIcon( int width, int height )
	{
		return CreateSimpleAssetTypeIcon( "local_atm", width, height );
	}
}