public void update()
	{
		for(Entity entity : this.entities)
			entity.update();
		this.player.update();
		for(int i = 0; i < this.entities.size(); i++)
			if(this.entities.get(i).shouldRemove)
			{
				this.entities.remove(i);
				i--;
			}
		
		this.lifetime++;
		
		if(this.player.gifts == this.KIDS)
		{
			Game.instance.setCurrentGui(new GuiGameOver(null, 0, 0, Game.instance.getWidth(), Game.instance.getHeight(), true, this.lifetime));
		}
	}