summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java
AgeCommit message (Expand)AuthorFilesLines
2020-07-15HexBoard : remove unused paramaterHEADmasterJérémy Zurcher1-4/+4
2020-07-14hexBoard : normalise and optimize Orientation in lineOfSightJérémy Zurcher1-32/+20
2020-07-12HexBoard : fix the mess I madeJérémy Zurcher1-43/+43
2020-07-10HexBoard : no float comparaisonJérémy Zurcher1-1/+1
2020-07-10HexBoard : slope -> mJérémy Zurcher1-9/+8
2020-07-08HexBoard : fix diagonal los with out of board tilesJérémy Zurcher1-1/+4
2020-07-08HexBoard : fix slope usage on horizontal conditionJérémy Zurcher1-3/+4
2020-07-08HexBoard : prevent div 0 that never happenJérémy Zurcher1-1/+1
2020-07-08HexBoard : shorten contact point computationJérémy Zurcher1-15/+9
2020-07-08HexBoard : tiny code clean upJérémy Zurcher1-2/+2
2020-07-08HexBoard : fix lineOfSight()Jérémy Zurcher1-12/+5
2020-07-07HexBoard : simplify computeOrientation()Jérémy Zurcher1-23/+9
2020-07-07HexBoard : third Tile in diagonal move is always on the BoardJérémy Zurcher1-14/+10
2020-07-07HexBoard : offboard tiles are blockingJérémy Zurcher1-0/+6
2020-07-07HexBoard : tiny fixJérémy Zurcher1-2/+1
2020-07-07HexBoard : distance cleanupJérémy Zurcher1-10/+7
2020-07-03isOnMap -> isOnBoardJérémy Zurcher1-13/+13
2020-07-03HexBoard : dh + side / 2 = sideJérémy Zurcher1-10/+10
2020-07-03HexBoard : code refactoringJérémy Zurcher1-97/+86
2020-07-02HexBoard : orientation -> boolean verticalJérémy Zurcher1-15/+14
2020-06-30Board : implement shortestPath() for HexBoardsJérémy Zurcher1-0/+81
2020-06-30HexBoard : possibleMoves, do not blindly follow roadsJérémy Zurcher1-2/+2
2020-06-18HexBoard : lineOfSight(…) compute contact pointJérémy Zurcher1-5/+126
2020-06-18HexBoard : merge verticalLineOfSight(…) into diagonalLineOfSight(…)Jérémy Zurcher1-58/+17
2020-06-18HexBoard : fix slope definitionJérémy Zurcher1-4/+5
2020-06-09HexBoard : possibleMoves() supports roadMarchJérémy Zurcher1-4/+11
2020-06-09Piece : add atLeastOneTileMove()Jérémy Zurcher1-1/+1
2020-06-08implement HexBoard::possibleMoves(…)Jérémy Zurcher1-0/+61
2020-06-04HexBoard : LOS, must set from to not blockedJérémy Zurcher1-0/+3
2020-06-04HexBoard : block LOS if left&right of hex sides blockedJérémy Zurcher1-8/+12
2020-06-03Tile : add distances to blockLos(…)Jérémy Zurcher1-11/+14
2020-06-02HexBoard : remove empty lineJérémy Zurcher1-1/+0
2020-06-02HexBoard : add comments to lineOfSightJérémy Zurcher1-14/+23
2020-06-02Board,TileStorage : use Tile.OffMapJérémy Zurcher1-12/+11
2020-06-01Board : implement lineOfSight for VERTICAL HexBoardJérémy Zurcher1-0/+173
2020-06-01Board : add getTile(…), TileProvider goes into BoardFactoryJérémy Zurcher1-8/+16
2020-01-23TileStorage -> tilestorages/TileStorageJérémy Zurcher1-1/+1
2020-01-23Board : add adjacents API, implement it for HEX and Square boardsJérémy Zurcher1-0/+19
2020-01-23Board : extends TileKeyGeneratorJérémy Zurcher1-1/+1
2020-01-23Piece : add angleCorrection, fix boards anglesJérémy Zurcher1-2/+2
2020-01-22set units up, and reorder anglesJérémy Zurcher1-2/+3
2020-01-21Board : add size() and getIdx(int, int)Jérémy Zurcher1-0/+37
2020-01-21Board : add boolean isOnBoard(int, int)Jérémy Zurcher1-1/+17
2019-12-03Board : implements distance for Hex and Square boardsJérémy Zurcher1-0/+34
2018-10-14Orientation : normalize 0° is facing EastJérémy Zurcher1-2/+3
2018-10-10add OrientationJérémy Zurcher1-0/+12
2018-10-08ch.asynk.gdx.boardgame.board -> ch.asynk.gdx.boardgame.boardsJérémy Zurcher1-0/+134