public void AddToInventory()
{
if(this.isMoney)
{
GameHandler.AddMoney(this.quantity);
}
else if(ItemDropType.ITEM.Equals(this.type))
{
GameHandler.AddItem(this.id, this.quantity);
}
else if(ItemDropType.WEAPON.Equals(this.type))
{
GameHandler.AddWeapon(this.id, this.quantity);
}
else if(ItemDropType.ARMOR.Equals(this.type))
{
GameHandler.AddArmor(this.id, this.quantity);
}
}