public void onDeath()
 {
     core.gainLoseMoney(moneyDropAmount);
     core.gainXp(xpWorth);
     Destroy(gameObject);
 }