So, I'm really puzzled right now. I would need to get my sf::Shape X to be global, so I could use it in different file. X is in file x.cpp & x.hpp, but I need to get it usable in y.cpp. I heard that global variables could help, but everyone keeps saying they're bad. Help would be really appreciated
Again sorry about my english and asking such a stupid questions :oops: