You keep everything moving independently with the game loop. You have a loop that runs over and over. Each frame is 1/60th of a second (hopefully) so you need to figure out how much and where things moved since the last frame. Normally you will keep track of your game world object in an array and loop over them in your game loop applying update logic for each one. See example on previous post.