summaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
2014-10-01Board.distance() -> SearchBoard.distance()Jérémy Zurcher2-21/+19
2014-09-30add game/HudJérémy Zurcher2-16/+37
2014-09-30Map: fix touchUpJérémy Zurcher1-8/+12
2014-09-30Tile: occupied() -> isEmpty() && hasUnits()Jérémy Zurcher2-11/+23
2014-09-30Pawn/Unit: add boolean isUnit()Jérémy Zurcher2-0/+7
2014-09-30GameScreen: screenToViewport -> screenToWorldJérémy Zurcher1-4/+4
2014-09-30GameScreen: nothing reallyJérémy Zurcher1-1/+3
2014-09-30GameScreen: fix cam.unproject() after resizeJérémy Zurcher1-3/+9
2014-09-30GameScreen: add virtualWidth, virtualHeightJérémy Zurcher1-4/+8
2014-09-30GameScreen: reorder varsJérémy Zurcher1-4/+5
2014-09-30GameScreen: ZOOM_MAX - >ZOOM_IN_MAXJérémy Zurcher1-4/+4
2014-09-30Map/GameScreen: clean upJérémy Zurcher2-83/+34
2014-09-30Board/SearchBoard: clean upJérémy Zurcher2-109/+116
2014-09-30SearchBoard: qick implementation of hasClearLineOfSight(...)Jérémy Zurcher1-4/+29
2014-09-30SearchBoard: remove useless check param for lineOfSight()Jérémy Zurcher2-10/+5
2014-09-30update tests for diagonals tiles orderJérémy Zurcher1-184/+185
2014-09-30SearchBoard: add diagonalLineOfSight(...)Jérémy Zurcher1-1/+33
2014-09-30Tile/Hex: add blockLineOfSightFrom(Tile)Jérémy Zurcher2-0/+13
2014-09-30SearchBoard: cleanupJérémy Zurcher1-14/+11
2014-09-29add LineOfSightTestJérémy Zurcher1-0/+1482
2014-09-29Board/Tile: add protected default constructor needed for test unitJérémy Zurcher2-0/+8
2014-09-29gradle: add core:test targetJérémy Zurcher1-0/+1
2014-09-29fix GameScreenJérémy Zurcher1-2/+3
2014-09-29add lineOfSight testing codeJérémy Zurcher3-0/+52
2014-09-29SearchBoard: add List<Node> lineOfSight()Jérémy Zurcher1-1/+105
2014-09-29Tile/Hex: add boolean isOffMap()Jérémy Zurcher2-0/+7
2014-09-29SearchBoard: coding styleJérémy Zurcher1-2/+2
2014-09-29Board is not an Image anymore, but has an ImageJérémy Zurcher1-7/+21
2014-09-27add MapAJérémy Zurcher3-3/+77
2014-09-27update terrains and units positionsJérémy Zurcher3-54/+55
2014-09-27go from orthogonal coordinates to skew coordinatesJérémy Zurcher2-74/+60
- X axis follows the north, tiles in the same row have the same Y - Y axis follows the south-west, tiles in that column have the same X this complicates the transormation from tiles coordinates into array offset, but eases movement computation and should be more than usefull for line of sight computaion
2014-09-27getPawnPosAt(...) uses Tile.getCenter()Jérémy Zurcher2-13/+8
2014-09-27Tiles have a center, GameFactory implements Board.TileBuilder to create ↵Jérémy Zurcher6-33/+31
Hex(cx,cy)
2014-09-27rework (Basic)Drawable into Drawable->MoveableJérémy Zurcher7-44/+108
2014-09-27overlays clear -> disableJérémy Zurcher4-8/+8
2014-09-27Map: change debugMap cycling orderJérémy Zurcher1-3/+3
2014-09-26SearchBoard: fix openToAttackFrom() use a queue add fix attackAngleJérémy Zurcher1-30/+52
2014-09-26Pawn: add Board.Orientation getOrientation()Jérémy Zurcher1-0/+5
2014-09-26Orientation: add int allBut(), oppositeSide() -> opposite()Jérémy Zurcher1-2/+8
2014-09-26set GameScreen.DEBUGJérémy Zurcher1-1/+3
2014-09-25HT have range + 1 if on hillJérémy Zurcher1-0/+1
2014-09-25Map: add openToAttackFrom() testJérémy Zurcher1-0/+2
2014-09-25Board: add openToAttackFrom()Jérémy Zurcher1-0/+15
2014-09-25SearchBoard: add openToAttackFrom() NOT COMPLETEJérémy Zurcher1-0/+90
2014-09-25add Board.Orientation.isInSides(int)Jérémy Zurcher1-0/+5
2014-09-25Tile, Hex: add hasTargetsFor(Pawn)Jérémy Zurcher2-1/+16
2014-09-25Pawn, Unit: add getAttackRangeFrom(Tile)Jérémy Zurcher2-0/+8
2014-09-25SearchBoard: clean upJérémy Zurcher1-19/+23
2014-09-25Pawn.getMvt -> Pawn.getMovementPointsJérémy Zurcher3-3/+3
2014-09-25Pawn, Unit: add int getAngleOfAttack()Jérémy Zurcher2-0/+7