summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/Board.java
AgeCommit message (Expand)AuthorFilesLines
2014-11-12Board,Map...: fix findEntryPoint(...)Jérémy Zurcher1-27/+16
2014-11-05Pawn: enter/rotate/move/attack -> move() and attack()Jérémy Zurcher1-2/+2
2014-11-05Board: simply getSetPawnOntoAnimation(...) thanks to Pawn.MoveJérémy Zurcher1-4/+4
2014-11-05Board: call pawn.move.setRotation(...) in rotatePawn(...)Jérémy Zurcher1-0/+1
2014-11-05PossiblePaths: implements applyToPawn that feed Pawn.Move and is called from ...Jérémy Zurcher1-0/+1
2014-11-05Board: findBestEntry(...) returns Orientation, not TileJérémy Zurcher1-5/+5
2014-11-05Board: add Tile getAdjTileAt(Tile, Orientation) and Tile findBestEntry(Pawn, ...Jérémy Zurcher1-0/+63
2014-11-01remove unnecessary commentsJérémy Zurcher1-1/+0
2014-11-01Board: factorize pawn animation codeJérémy Zurcher1-13/+15
2014-10-31Board: on animation first call removePawn(), at the end setPawnOnto() to ensu...Jérémy Zurcher1-1/+9
2014-10-31Borad,Pawn: getRotateAnimation(float, ...) do not need Vector3 Pool anymoreJérémy Zurcher1-15/+1
2014-10-31Board: add of frame of OFFMAP tiles around the boardJérémy Zurcher1-18/+32
2014-10-31update TODO file and TODO/FIXME commentsJérémy Zurcher1-1/+1
2014-10-31Board: movePawn: use possiblePaths.to in RunnableAnimationJérémy Zurcher1-3/+2
2014-10-31Board: collectAttackAssists do not include attack leaderJérémy Zurcher1-1/+1
2014-10-31cleanup XxxCollection interfaces -> PawnSet and TileSetJérémy Zurcher1-5/+0
2014-10-31use new PossiblePaths classJérémy Zurcher1-97/+5
2014-10-31Board,SearcBoard: setAdjacentTiles(...) is public, directly access Tile.col a...Jérémy Zurcher1-8/+8
2014-10-30SearchBoard,Board: sides and distance goes from SearchBoard to BoardJérémy Zurcher1-0/+39
2014-10-30Board: clean up int collectAttackAssists(Pawn, Pawn, Iterator<Pawn>, PawnColl...Jérémy Zurcher1-7/+2
2014-10-30Board: clean up int collectMoveAssists(Pawn, PawnCollection)Jérémy Zurcher1-1/+1
2014-10-30Board,SearchBoard: optimize collectPossibleTargets(Pawn, Iterator<Pawn>, Pawn...Jérémy Zurcher1-4/+1
2014-10-30Board,SearchBoard: optimize collectPossibleTargets(Pawn, Board.PawnCollection)Jérémy Zurcher1-3/+1
2014-10-30Board,SearchBoard: optimize collectPossibleMoves(Pawn, Board.TileCollection)Jérémy Zurcher1-3/+1
2014-10-30Pawn: remove boolean canBeAttacked(Pawn) -> use boolean canAttack(Pawn)Jérémy Zurcher1-1/+1
2014-10-29rename buildXxxYyy(...) -> collectXxxYyy(...)Jérémy Zurcher1-4/+4
2014-10-29Board: remove old commentJérémy Zurcher1-1/+0
2014-10-29Map,Unit: simplify show/hide functionsJérémy Zurcher1-5/+1
2014-10-29Pawn,Board: give current AnimationSequence size when asking Pawn for itJérémy Zurcher1-3/+3
2014-10-29Pawn: add boolean canBeAttacked(Pawn other)Jérémy Zurcher1-0/+1
2014-10-29Map: possibleTargets and attackAssists are Board.PawnCollection, activablePaw...Jérémy Zurcher1-5/+5
2014-10-28Board: fix buildMoveAssists -> collectMoveAssistsJérémy Zurcher1-5/+7
2014-10-28Board: add PawnSet, remove TileListJérémy Zurcher1-1/+11
2014-10-28Add interface Board.TileCollection extends Collection<Tile>Jérémy Zurcher1-8/+19
2014-10-28SearchBoard: moves is a SetJérémy Zurcher1-1/+2
2014-10-28Board: swallows ArrayList<Vector3> finalPathJérémy Zurcher1-2/+8
2014-10-27Board: do not use GridPoint2, use Pawn, Tile and pawn.getTile()Jérémy Zurcher1-111/+43
2014-10-26Board,Map: possiblePaths is a TileList tooJérémy Zurcher1-12/+9
2014-10-23Map,Board: use TileList and HexList for moves and attacksJérémy Zurcher1-68/+22
2014-10-22Pawn: has a ref to current and prev TileJérémy Zurcher1-27/+20
2014-10-22Board: addAnimation(Animation) -> protectedJérémy Zurcher1-1/+1
2014-10-22Pawn: add setOnTile(Tile, Orientation)Jérémy Zurcher1-2/+1
2014-10-22Board: remove getPawnPosAt(...)Jérémy Zurcher1-6/+1
2014-10-22Board: remove getTile(GridPoint2) and getTileSafe(GirdPoint2)Jérémy Zurcher1-20/+10
2014-10-22Bawn,Board: simplify getPawnPosAt(...)Jérémy Zurcher1-3/+1
2014-10-22Board: neigbours is no more GridPoint2[] but Tile[]Jérémy Zurcher1-24/+11
2014-10-22code reorderJérémy Zurcher1-15/+15
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher1-4/+5
2014-10-15Board: add addAnimation(Animation) and int removePawn(Pawn)Jérémy Zurcher1-3/+13
2014-10-15Board: remove pawnsToDraw, directly draw AnimationsJérémy Zurcher1-28/+13