Add function for the player to destroy an object
Add function for the player to destroy an object