summaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
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 Zurcher5-19/+19
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 Zurcher4-0/+97
2020-06-30Tile : add float f public memberJérémy Zurcher1-0/+1
2020-06-30HexBoard : possibleMoves, do not blindly follow roadsJérémy Zurcher1-2/+2
2020-06-18HexBoard : lineOfSight(…) compute contact pointJérémy Zurcher4-10/+131
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-09Tile : add roadMarch && hasRoad(Orientation orientation)Jérémy Zurcher1-0/+6
2020-06-09Piece : add roadMarchBonus(), reorder codeJérémy Zurcher1-16/+21
2020-06-09Piece : add atLeastOneTileMove()Jérémy Zurcher2-1/+6
2020-06-08Tile : add disableOverlays()Jérémy Zurcher1-0/+5
2020-06-08implement HexBoard::possibleMoves(…)Jérémy Zurcher6-0/+95
2020-06-04Board : add lineOfSight(Tile, Tile, Collection<Tile>)Jérémy Zurcher1-0/+5
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-04Scrollable : fix tyJérémy Zurcher1-5/+4
2020-06-03Tile : add distances to blockLos(…)Jérémy Zurcher2-12/+15
2020-06-03Board : add distance(…) default to Geometry.EUCLIDEANJérémy Zurcher1-0/+5
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 Zurcher4-17/+18
2020-06-02Tile : add isOnMap() and Tile.OffMapJérémy Zurcher1-0/+14
2020-06-01Board : implement lineOfSight for VERTICAL HexBoardJérémy Zurcher5-0/+197
2020-06-01Tile : float x,y->cx,cy, add int x,yJérémy Zurcher3-9/+13
2020-06-01Board : add getTile(…), TileProvider goes into BoardFactoryJérémy Zurcher5-30/+55
2020-05-31Merge pull request #15 from SimonIT/get-directionJérémy Zurcher1-0/+5
Getter for direction
2020-05-31TriangleBoard : clean upJérémy Zurcher1-5/+4
2020-05-31TriangleBoard : fix horizontal negative indexJérémy Zurcher1-11/+9
2020-05-31Camera : fix translateJérémy Zurcher1-1/+1
2020-05-31Board/Piece : add dropInPlace(…), dropOnBoard(…)Jérémy Zurcher2-0/+16
2020-05-31Positionable : add getCX() and getCY()Jérémy Zurcher1-0/+2
2020-05-31Camera : add unprojectTranslation()Jérémy Zurcher1-0/+6
2020-05-21Getter for directionSimonIT1-0/+5
2020-05-19ui/Container : check children visibilityJérémy Zurcher1-2/+6
2020-05-18ui : support Container.Pack.BEGIN/ENDJérémy Zurcher1-7/+16
2020-05-18UI/Container : knows basic layeringJérémy Zurcher3-3/+83
2020-05-17ui : fix SizingJérémy Zurcher2-35/+41