Skeletons and traps!(SFML & C++) | Behind the code