09.11.2014, 13:28
Well I dislike this kind of function which goes from one to another position because
- You need to store x, y and startPostion global
- You only get the next position
Would be easier to use a function which start always from the starting point than you only need to save startPosition global
/ Don't quote code, it can change
- You need to store x, y and startPostion global
- You only get the next position
Would be easier to use a function which start always from the starting point than you only need to save startPosition global
/ Don't quote code, it can change