On Tue, 8 Jan 2019 21:10:18 +0100
Sébastien Fauvel <[email protected]> wrote:
> I try to understand application to give some help if I can.
> I found a strange behviour in MapTest (method testGetSurroundingTiles).

Look at Direction.java for clarification, although ISTR there are
better commented places which I can not bring to mind.

The way the grid is laid out is not something I can comment on with any
confidence as it was in place from years before I joined the project.  I
certainly recall finding it surprising initially, however it clearly
works, and knowing nothing much about map projections I am happy to credit
the elder developers with knowing what they were doing.

Generally I think it is best not to have to think about the map
embedding detail, and use abstractions like getSurroundingTiles() that
hide that from you.

Cheers,
Mike Pope

Attachment: pgpQu8icnsovG.pgp
Description: OpenPGP digital signature

_______________________________________________
Freecol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to