Hey so, I don't know if I am doing this right, but at the function discardActivePokemon() I have an exception being thrown because the array seems to be null. The cm_test is a CardManager.
// Check what happens if an active pokemon has
// no energy and we try to discard it
PokemonCard myActivePokemon_test = new PokemonCard();
cm_test.setActivePokemon(myActivePokemon_test);
cm_test.discardActivePokemon();
Hey so, I don't know if I am doing this right, but at the function discardActivePokemon() I have an exception being thrown because the array seems to be null. The cm_test is a CardManager.
Anyone has an idea of what is going on?