summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/Tile.java
AgeCommit message (Expand)AuthorFilesLines
2015-02-18Tile: do not push twice the same unitJérémy Zurcher1-1/+2
2015-01-19Tile,Hex: add exitCost()Jérémy Zurcher1-0/+1
2015-01-18Tile: add toString()Jérémy Zurcher1-0/+5
2015-01-08Tile: no more default constructor: col and row must be providedJérémy Zurcher1-1/+3
2015-01-08Tile: add toString()Jérémy Zurcher1-0/+6
2014-11-17Tile,Hex: replace int defenseFor(Pawn, Pawn, Board.PawnCollection) with int d...Jérémy Zurcher1-1/+1
2014-11-17Tile: add interface TileTerrain, boolean isA(TileTerrain terrain)Jérémy Zurcher1-0/+5
2014-11-05Tile,Hex: int costFrom(Pawn, Orientation, boolean) -> int costFrom(Pawn, Orie...Jérémy Zurcher1-1/+1
2014-11-01Pawn: add attack.calculus String and feed itJérémy Zurcher1-1/+1
2014-10-31Tile: implements Iterable<Pawn>Jérémy Zurcher1-1/+1
2014-10-30Tile: remove boolean hasTargetsFor(Pawn)Jérémy Zurcher1-12/+0
2014-10-29Map: activatedPawns is a Board.PawnCollectionJérémy Zurcher1-1/+2
2014-10-28Tile: create stack at Tile constructionJérémy Zurcher1-4/+2
2014-10-28Tile: getIterator() -> iterator(), getTopPawn() goes privateJérémy Zurcher1-4/+4
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher1-8/+14
2014-10-13Tile,Hex: add int defenseFor(Pawn, List<Pawn>)Jérémy Zurcher1-2/+5
2014-10-12StackedImage,Tile,Map: enable rotation on a specific overlayJérémy Zurcher1-0/+8
2014-10-04Tile: implements DisposableJérémy Zurcher1-1/+10
2014-10-04Tile: cleanup, add boolean hasTargetsFor(Pawn pawn)Jérémy Zurcher1-10/+25
2014-10-03Board.Orientation -> OrientationJérémy Zurcher1-2/+2
2014-10-01Board -> Tile -> StackedImages: isEnabled(int i) overlaysJérémy Zurcher1-0/+5
2014-09-30Tile: occupied() -> isEmpty() && hasUnits()Jérémy Zurcher1-7/+19
2014-09-30Tile/Hex: add blockLineOfSightFrom(Tile)Jérémy Zurcher1-0/+1
2014-09-29Board/Tile: add protected default constructor needed for test unitJérémy Zurcher1-0/+4
2014-09-29Tile/Hex: add boolean isOffMap()Jérémy Zurcher1-0/+1
2014-09-27getPawnPosAt(...) uses Tile.getCenter()Jérémy Zurcher1-0/+5
2014-09-27Tiles have a center, GameFactory implements Board.TileBuilder to create Hex(c...Jérémy Zurcher1-7/+5
2014-09-27rework (Basic)Drawable into Drawable->MoveableJérémy Zurcher1-9/+2
2014-09-27overlays clear -> disableJérémy Zurcher1-2/+2
2014-09-25Tile, Hex: add hasTargetsFor(Pawn)Jérémy Zurcher1-1/+2
2014-09-24draw(Batch batch, float parentAlpha) -> draw(batch)Jérémy Zurcher1-3/+3
2014-09-24translate params are dx, dyJérémy Zurcher1-2/+2
2014-09-24Tile.roadMarchBonus() -> Pawn.roadMarch()Jérémy Zurcher1-1/+0
2014-09-24Tile and Hex: atLeastOneMove(), roadMarchBonus(), road(), costFrom()Jérémy Zurcher1-7/+4
2014-09-23board allocation goes into Board, hex setup goes into MapA extends MapJérémy Zurcher1-0/+2
2014-09-23implement clear overlays in Board/Tile/StackImageJérémy Zurcher1-0/+6
2014-09-23Tile#occupied: prevent null ref accessJérémy Zurcher1-0/+1
2014-09-22move translate from Drawable to BasicDrawableJérémy Zurcher1-0/+9
2014-09-22Pawn.Orientation + Tile.Side -> Board.OrientationJérémy Zurcher1-13/+0
2014-09-21add Map.enableOverlayOn(...)Jérémy Zurcher1-1/+3
2014-09-21MapNode->Board TileOverlays->Tile PawnImage->PawnJérémy Zurcher1-17/+84
2014-09-21Tile#remove(Pawn) return stack sizeJérémy Zurcher1-1/+1
2014-09-21update Tile and bring TileOverlays inJérémy Zurcher1-2/+8
2014-09-20Tile oooops forgot to commit import BasicDrawableJérémy Zurcher1-0/+2
2014-09-20Tile extends BasicDrawableJérémy Zurcher1-1/+1
2014-09-18Tile.Orientation -> Pawn.OrientationJérémy Zurcher1-12/+0
2014-09-17split into '.engine.*' and '.game.*'Jérémy Zurcher1-0/+41