2016-12-17 00:16:14 +00:00
|
|
|
|
using System.Collections.Generic;
|
2016-11-27 02:51:10 +00:00
|
|
|
|
|
2017-07-17 19:42:36 +00:00
|
|
|
|
namespace NadekoBot.Modules.Pokemon.Common
|
2016-11-27 02:51:10 +00:00
|
|
|
|
{
|
|
|
|
|
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; }
|
2017-02-13 14:03:39 +00:00
|
|
|
|
|
|
|
|
|
public override string ToString() =>
|
|
|
|
|
Icon + "**" + Name.ToLowerInvariant() + "**" + Icon;
|
2016-11-27 02:51:10 +00:00
|
|
|
|
}
|
|
|
|
|
public class PokemonMultiplier
|
|
|
|
|
{
|
|
|
|
|
public PokemonMultiplier(string t, double m)
|
|
|
|
|
{
|
|
|
|
|
Type = t;
|
|
|
|
|
Multiplication = m;
|
|
|
|
|
}
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
public double Multiplication { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|