summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/Pawn.java
AgeCommit message (Expand)AuthorFilesLines
2015-02-18Pawn: use move(Move) only, do not dispose of Move, it is owned by CommandJérémy Zurcher1-28/+15
2015-02-18Move: isEnter(), isSet(), isRegular(), isFinal()Jérémy Zurcher1-4/+4
2015-02-18Pawn: add int attackDistance(), and use it in MapJérémy Zurcher1-0/+5
2015-02-18SearchBoard: canAttack(...) set Pawn.attackJérémy Zurcher1-0/+7
2015-02-18Attack: set (Pawn attacker) constructor parameterJérémy Zurcher1-2/+1
2015-02-18Attack: cleanup Pawn.engagement->Pawn.attackJérémy Zurcher1-5/+5
2015-01-22engine.Pawn.Engagement -> engine.AttackJérémy Zurcher1-22/+3
2015-01-18remove Pawn.Movement class, use Move insteadJérémy Zurcher1-49/+38
2015-01-02remove engine/gfx/Image: use Sprite insteadJérémy Zurcher1-14/+15
2014-12-17Pawn: add translate(float, float)Jérémy Zurcher1-0/+5
2014-12-05Moveable: add setAlpha(float)Jérémy Zurcher1-6/+7
2014-12-05Pawn,HeadedPawn,StackedImages: add setAlpha(float)Jérémy Zurcher1-0/+6
2014-11-22Hud,Map: set ugly engagementSummary panelJérémy Zurcher1-2/+1
2014-11-21Map,Board,Pawn: plug in objectives managementJérémy Zurcher1-2/+2
2014-11-21Moveable: add Faction getFaction() to interface, Pawn implements itJérémy Zurcher1-0/+6
2014-11-21Pawn: Vector2 getCenter() -> float getCenterX() and float getCenterY()Jérémy Zurcher1-4/+7
2014-11-17Pawn,Unit: add int getDefense(Tile)Jérémy Zurcher1-0/+1
2014-11-17Pawn,Unit: add interface Pawn.PawnId, boolean isA(PawnId i)Jérémy Zurcher1-0/+5
2014-11-14Pawn,Board,Map,StateRotate: use regular move for rotationJérémy Zurcher1-10/+0
2014-11-14Pawn: add boolean isRotation() {distance == 0}Jérémy Zurcher1-0/+5
2014-11-14Pawn: default mvt cost is 0Jérémy Zurcher1-1/+1
2014-11-14Pawn: protect against HQ activation move debugJérémy Zurcher1-1/+3
2014-11-14Naming attack -> engagement - move -> movementJérémy Zurcher1-18/+18
2014-11-13engine/Player Pawn: add is(Faction)Jérémy Zurcher1-0/+5
2014-11-10Pawn,Unit: fix the way the Unit is marked has movedJérémy Zurcher1-0/+5
2014-11-05Pawn: add centerOn(flaot, float)Jérémy Zurcher1-0/+5
2014-11-05Pawn: add enterBoard(Tile, Orientation)Jérémy Zurcher1-0/+10
2014-11-05Pawn: add getPreviousTile()Jérémy Zurcher1-0/+5
2014-11-05Pawn: enter/rotate/move/attack -> move() and attack()Jérémy Zurcher1-4/+2
2014-11-05add Pawn.MoveJérémy Zurcher1-0/+41
2014-11-05Pawn.Attack: .reset() and .toString()Jérémy Zurcher1-2/+19
2014-11-05Pawn,Unit: add enter(int cost)Jérémy Zurcher1-0/+1
2014-11-03Pawn: do not use image.getXxxx()Jérémy Zurcher1-6/+6
2014-11-01Pawn: add attack.calculus String and feed itJérémy Zurcher1-0/+1
2014-10-31Borad,Pawn: getRotateAnimation(float, ...) do not need Vector3 Pool anymoreJérémy Zurcher1-2/+2
2014-10-31use new PossiblePaths classJérémy Zurcher1-6/+5
2014-10-30Pawn: remove boolean canBeAttacked(Pawn) -> use boolean canAttack(Pawn)Jérémy Zurcher1-1/+0
2014-10-29Pawn,Board: give current AnimationSequence size when asking Pawn for itJérémy Zurcher1-6/+6
2014-10-29Pawn: add boolean canBeAttacked(Pawn other)Jérémy Zurcher1-0/+1
2014-10-28use 4 atlases, set Unit overlaysJérémy Zurcher1-3/+3
2014-10-22Pawn: has a ref to current and prev TileJérémy Zurcher1-4/+20
2014-10-22Pawn: revertPosition() calls setPosition()Jérémy Zurcher1-1/+1
2014-10-22Pawn: add setOnTile(Tile, Orientation)Jérémy Zurcher1-0/+7
2014-10-22Bawn,Board: simplify getPawnPosAt(...)Jérémy Zurcher1-5/+5
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher1-5/+5
2014-10-20Paw,Unit: add boolean isA(PawnType type)Jérémy Zurcher1-1/+6
2014-10-20Pawn,Unit: add boolean isHardTarget() this fixes canMove/Rotate/AttackJérémy Zurcher1-0/+1
2014-10-17Army: engine/Army -> interface engine/Faction + enum game/Army implements Fac...Jérémy Zurcher1-6/+6
2014-10-17Army: goes from game to engineJérémy Zurcher1-2/+13
2014-10-17Pawn,HeadedPawn: toString return protected descrJérémy Zurcher1-3/+3