I'm making a text RPG game in C++, and was wondering if it would be a smart idea to have the Acts split into their own .cpp files? For example main.cpp would start and setup the game while act1.cpp would do the things I want to happen in Act I then it would go to act2.cpp etc.. How would I bring my objects (player, enemy, item, and more) into the other files?