oskarwiksten / andors-trail

Moved to gitlab: https://gitlab.com/oskarwiksten/andors-trail
34 stars 124 forks source link

One parallel array more. #16

Closed TodorBalabanov closed 11 years ago

TodorBalabanov commented 11 years ago

com.gpl.rpg.AndorsTrail.controller.PathFinder.ListOfCoords private final int coords[]

You can split coords array in two arrays:

private final int xCoords[] private final int yCoords[]

And you will not need to convert between coords and int.

oskarwiksten commented 11 years ago

Would you like to do a pull request to show what you mean?

TodorBalabanov commented 11 years ago

Sure. I will do one.