summaryrefslogtreecommitdiffstats
path: root/core/src/ch
AgeCommit message (Collapse)AuthorFilesLines
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
2020-05-17UI : add damaged flag, a child is dirtJérémy Zurcher3-4/+22
2020-05-17List : add setSpacing()Jérémy Zurcher1-0/+6
2020-05-17UI/Scrollable : use innerRect instead of clipJérémy Zurcher1-14/+12
2020-05-17UI : computeGeometry is called from Root before drawing if dirty or resizedJérémy Zurcher8-77/+71
2020-05-15UI : computeDimensons()+computePosition() -> computeGeometry(rect)Jérémy Zurcher9-67/+85
2020-05-14 UI : introduce abstract Element.drawReal(batch)Jérémy Zurcher9-34/+26
2020-05-14UI : tainted -> dirty + audit clean up allJérémy Zurcher10-20/+57
2020-05-13UI : taint() does mark up, to mark down use Container.taintChildren()Jérémy Zurcher3-12/+4
2020-05-13ui/List : is always sized according to it's contentJérémy Zurcher1-11/+3
2020-05-13ui/Button : is always sized according to it's LabelJérémy Zurcher1-12/+5
2020-05-13ui/Label : is always sized acording to it's textJérémy Zurcher1-10/+3
2020-05-13add ui/ContainerJérémy Zurcher3-55/+77
2020-01-27Piece : private head -> protected spriteJérémy Zurcher1-14/+14