Manu
Manu
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
first year too
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
so it is a very hard time
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
we are four
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
but Only two of us are workings
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
we should be a team
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
I am doing a uni project
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
Thanks you so much
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
because I don't find another way
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
I mean if it should be a method of the pokemon I assume that yes
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
I reached this, not find another to make damage to my pokemon, but I find it should be a game mechanics thing
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
some word are in spanish
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
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.
}

}
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.
}

}
23 replies
CC#
Created by Manu on 11/8/2024 in #help
Pokemon Game SRP
This is my pokemon
23 replies