NadekoBot/NadekoBot.Modules.Pokemon/Common/PokemonType.cs

33 lines
905 B
C#
Raw Normal View History

2016-12-17 00:16:14 +00:00
using System.Collections.Generic;
2017-07-17 19:42:36 +00:00
namespace NadekoBot.Modules.Pokemon.Common
{
public class PokemonType
{
public PokemonType(string n, string i, string[] m, List<PokemonMultiplier> multi)
{
Name = n;
Icon = i;
Moves = m;
Multipliers = multi;
}
public string Name { get; set; }
public List<PokemonMultiplier> Multipliers { get; set; }
public string Icon { get; set; }
public string[] Moves { get; set; }
public override string ToString() =>
Icon + "**" + Name.ToLowerInvariant() + "**" + Icon;
}
public class PokemonMultiplier
{
public PokemonMultiplier(string t, double m)
{
Type = t;
Multiplication = m;
}
public string Type { get; set; }
public double Multiplication { get; set; }
}
}