summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
AgeCommit message (Expand)AuthorFilesLines
2014-10-18Player: add isEnemy(Faction)Jérémy Zurcher1-0/+5
2014-10-17Player: -> engine/Player and game/PlayerJérémy Zurcher1-0/+68
2014-10-17Army: engine/Army -> interface engine/Faction + enum game/Army implements Fac...Jérémy Zurcher4-30/+14
2014-10-17Army: goes from game to engineJérémy Zurcher3-4/+37
2014-10-17Image: add contains(float, float)Jérémy Zurcher1-0/+5
2014-10-17Pawn,HeadedPawn: toString return protected descrJérémy Zurcher2-9/+4
2014-10-15Board: add addAnimation(Animation) and int removePawn(Pawn)Jérémy Zurcher1-3/+13
2014-10-15add gfx/animations/SpriteAnimationJérémy Zurcher1-0/+89
2014-10-15Board: remove pawnsToDraw, directly draw AnimationsJérémy Zurcher1-28/+13
2014-10-15Animation implements Drawable, and has a Moveable, not a PawnJérémy Zurcher4-39/+58
2014-10-15Moveable interface comes in once againJérémy Zurcher3-3/+21
2014-10-14Pawn,Unit: add boolean isHqOf(Pawn), Player add boolean canPromote(Pawn)Jérémy Zurcher1-0/+1
2014-10-14Board: buildAttackAssists(...) jump over attack leaderJérémy Zurcher1-1/+1
2014-10-14SearchBoard,Board: implement assisst attack without line of sightJérémy Zurcher2-15/+15
2014-10-14Board: buildAttack(...) -> buildAttackAssists(...), clean up codeJérémy Zurcher1-8/+8
2014-10-14Pawn,Unit add boolean canAssistAttackWithoutLos() and UnitType.ARTILLERYJérémy Zurcher1-0/+1
2014-10-14Board: add simpler buildPossibleTargetsFrom() based on enemy unitsJérémy Zurcher1-0/+21
2014-10-14unify error msgsJérémy Zurcher1-1/+1
2014-10-13SearchBoard: fix validatePathAngle(...) count move forth to allow back oneJérémy Zurcher1-2/+7
2014-10-13Pawn: add isFlankAttack()Jérémy Zurcher2-2/+7
2014-10-13Board: buildAttackAssists(...) -> buildAttack() returns the count of possible...Jérémy Zurcher1-5/+9
2014-10-13Board: buildxxx(...) retrun count of collected elementsJérémy Zurcher1-3/+6
2014-10-13SearchBoard: clean up buildAttack(...)' -> canAttack(...) uses Pawn.Attack in...Jérémy Zurcher1-11/+33
2014-10-13Pawn: forgot to init attack inner classJérémy Zurcher1-1/+1
2014-10-13add Pawn.Attack public inner classJérémy Zurcher1-0/+9
2014-10-13Pawn,Unit: add int getFlankSides()Jérémy Zurcher1-0/+1
2014-10-13Board: int removePawnFrom(Pawn, GridPoint2) is now publicJérémy Zurcher1-1/+1
2014-10-13Tile,Hex: add int defenseFor(Pawn, List<Pawn>)Jérémy Zurcher1-2/+5
2014-10-13SearchBoard: add validatePathAngle(...) check angle of attack of successful LOSJérémy Zurcher1-5/+23
2014-10-13Board: getHexAt(Vector ... ) -> getHexUnder(Pawn ...)Jérémy Zurcher1-19/+10
2014-10-13Board: fix buildAttackAssists(), use Pawn.getCenter() instead of pawn.getPosi...Jérémy Zurcher1-1/+7
2014-10-13Board: add buildAttackAssists(Pawn, GridPoint2, Iterator<Pawn>, ArrayList<Gri...Jérémy Zurcher1-0/+20
2014-10-13Board: add GridPoint2 getHexAt(Vector3, GridPoint2)Jérémy Zurcher1-0/+6
2014-10-13SearchBoard: add canAttack(Pawn, int, int, int, int)Jérémy Zurcher1-0/+10
2014-10-12StackedImage,Tile,Map: enable rotation on a specific overlayJérémy Zurcher3-0/+22
2014-10-12Board: setPawnAt returns pawnJérémy Zurcher1-1/+2
2014-10-11HeadedPawn: add toString()Jérémy Zurcher1-0/+6
2014-10-11Pawn: add toString()Jérémy Zurcher1-2/+10
2014-10-10Board: pawns that cannot move cannot assist movesJérémy Zurcher1-1/+2
2014-10-10Pawn: cleanup animations, must set prevPosition when rotate, no need to set f...Jérémy Zurcher1-23/+11
2014-10-10Board: code reorderingJérémy Zurcher1-12/+12
2014-10-10Board: add revertLastPawnMove(), call pawn .move(int) .rotate(Orientation) .r...Jérémy Zurcher1-1/+19
2014-10-10Pawn: add prevPosition, revertPosition(), getRevertLastMoveAnimation()Jérémy Zurcher1-0/+29
2014-10-10Pawn: cleanupJérémy Zurcher1-8/+8
2014-10-10Pawn: add abstract move(int), rotate(Orientation), attack(Pawn), reset(), rev...Jérémy Zurcher1-2/+11
2014-10-10HeadedPawn: setRotation() must set z coordinate of positionJérémy Zurcher1-0/+1
2014-10-09coding styleJérémy Zurcher1-0/+1
2014-10-09SearchBoard,Board: implement pathCost(Pawn, List<Node>)Jérémy Zurcher2-0/+30
2014-10-09Paw,Unit: set fire() rotate() move(in), reset()Jérémy Zurcher1-0/+1
2014-10-09Board: cleanup API, force tests updateJérémy Zurcher1-38/+32