namespace ClassLibrary;public class Pokemon : IPokemon{ public string Name { get; private set; } public int Damage { get; private set; } public int Defense { get; private set; } public int Health { get; private set; } public int Estado { get; private set; } // 0 es normal, 1 burn, 2 poison, 3 paralyze , 4 sleep public string Tipo { get; private set; } public void DecreseHealth(int valueAfterCalculation) // Resta de vida despues del calculo de daño. { Health -= valueAfterCalculation; if (Health < 0) Health = 0; } public Pokemon(string name, int damage, int defense, int health, string tipo) { Name = name; Damage = damage; Defense = defense; Health = health; Tipo = tipo; Estado = 0; // Por d el Estado es normal. } }