What I mean is, let's say that I have number between 0 - 400. If I were to pass in 0, it would return 400, if I were to pass in 1 it would return 399, and so on and so forth. Is there an equation that will let me do this? (Yes, I know this isn't really java as much as it is plain Math)
EDIT: WOW, I'm and idiot. How did I NOT realize that this was subtraction? My problem is with Slick2D, and I'm having difficulty working with the LWJGL origin (0, 0 being in the top left) v.s. the other origin (0, 0 being in the bottom left)
EDIT 2: Requesting for a moderator to delete this