ok, i have the player move with the virtual keys, and i want it to keep their location, it would be in an (x, y) grid, so i would have the x and y variable. My question is, while in the loop of the game, i would have it call a function to add one to x if they go up and minus one if they go down, and add one to y if they go right and minus one if they go left. I know int handles both possative and negative numbers so im not worried about that but im wondering, when the game loops would it read the new values of x and y or how would i get it to keep itself updated?