If an int is 0 for north, 1 for east, etc... How do I reverse direction?
<p>I'm creating a program, and I need to keep track of which direction an object is facing. (north, east, south, west)</p>

<p>I'm not sure if this is even the best way to do that, so correct me on that if necessary, please.</p>

<p>In some instances, I'll need to turn left or right, and even reverse direction. What is the easiest way to achieve that?</p>

<p>This is in Java, and I can't use anything that is imported.</p>
