/** Activate the artifact. Check what the type is and activate the corresponding artifact */ private void activate() { if (type == TYPE.ALLHELPERDAMAGE) { game.getHelpers().artifactDamage(currentAmount); } else if (type == TYPE.HERODAMAGE) { game.getHero().artifactDamage(currentAmount); } else if (type == TYPE.ENEMYGOLD) { game.artifactEnemyGold(currentAmount); } }