public void tick(Player player){
		int i;
		totalWeight = 0;
		for(i = 0; i < getSize(); i++){
			if(backpack[i] instanceof Trinket){
				((Trinket) backpack[i]).tickTrinket();
			}
			if(backpack[i] != null){
				totalWeight += backpack[i].getWeight();
			}
		}
		for(i = 0; i < equipment.length; i++){
			if(equipment[i] instanceof Armor){
				((Armor) equipment[i]).tickArmor(player);
			}
			if(equipment[i] != null){
				if(equipment[i].isBroke()){
					equipment[i] = null;
				}else{
					totalWeight += equipment[i].getWeight();
				}
			}
		}
	}