Let's say I want to have an object move along a set path between points A, B, and C repeatedly throughout a game, based on a variable of which point it should be at/moving towards. Now, I could program in full A\* pathfinding, but that would take a lot of time and require a lot of code for something that really wouldn't be used to its full worth. Is there a more efficient way to do this? At the moment, the only idea I have is to have the object move a set number of pixels in one direction, then another, then another, but it would be very easy for the object to get several pixels off after a while. I should add that none of the points are withine line-of-sight of one another, so the object will have to move around walls. Any help is appreciated, as I feel like I'm missing something very obvious here.

I should clarify that the walls will not be changing position. They will remain where they are for the entire game.