summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
AgeCommit message (Expand)AuthorFilesLines
2014-11-21MoveToAnimation: callbacks float x y are center positionJérémy Zurcher1-3/+5
2014-11-21Pawn: Vector2 getCenter() -> float getCenterX() and float getCenterY()Jérémy Zurcher1-4/+7
2014-11-21MoveToAnimation: add callback for leave/enter hex end doneJérémy Zurcher1-0/+28
2014-11-20engine.PawnSet is dead : welcome UnitSetJérémy Zurcher3-38/+5
2014-11-20engine.TileSet/Zone are dead: welcome game.HexSet/ZoneJérémy Zurcher5-49/+8
2014-11-19add engine/MeteorologyJérémy Zurcher1-0/+24
2014-11-18PossiblePaths: add setExit(Orientation exit)Jérémy Zurcher1-0/+8
2014-11-18Board: pushPawnOnto(..) does nothing if tile is OFFMAPJérémy Zurcher1-1/+2
2014-11-18engine.EntryPoint -> engine.ZoneJérémy Zurcher1-2/+2
2014-11-17Tile,Hex: replace int defenseFor(Pawn, Pawn, Board.PawnCollection) with int d...Jérémy Zurcher1-1/+1
2014-11-17Pawn,Unit: add int getDefense(Tile)Jérémy Zurcher1-0/+1
2014-11-17Tile: add interface TileTerrain, boolean isA(TileTerrain terrain)Jérémy Zurcher1-0/+5
2014-11-17game.Player swallows engine.Player -> use List<Unit> intead of List<Pawn>Jérémy Zurcher1-90/+0
2014-11-17Pawn,Unit: add interface Pawn.PawnId, boolean isA(PawnId i)Jérémy Zurcher1-0/+5
2014-11-17Board: coding styleJérémy Zurcher1-3/+3
2014-11-17Player: clean up APIJérémy Zurcher2-34/+23
2014-11-16Player: add casualties()Jérémy Zurcher1-0/+5
2014-11-16EntryPoint: add public Orientation orientationJérémy Zurcher1-0/+1
2014-11-15Orientation: addstatic Orientation fromAdj(Tile from, Tile to)Jérémy Zurcher1-0/+5
2014-11-14Pawn,Board,Map,StateRotate: use regular move for rotationJérémy Zurcher2-23/+0
2014-11-14Pawn: add boolean isRotation() {distance == 0}Jérémy Zurcher1-0/+5
2014-11-14PossiblePaths: support rotation has moves of distance 0 and cost 0Jérémy Zurcher1-14/+17
2014-11-14PossiblePaths: add boolean isSet()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 Zurcher4-36/+36
2014-11-13engine/Player Pawn: add is(Faction)Jérémy Zurcher2-0/+10
2014-11-12Board,Map...: fix findEntryPoint(...)Jérémy Zurcher1-27/+16
2014-11-12add engine/EntryPointJérémy Zurcher1-0/+11
2014-11-10Pawn,Unit: fix the way the Unit is marked has movedJérémy Zurcher1-0/+5
2014-11-09Image: remove blocked and visible as it is no more used in HudJérémy Zurcher1-9/+0
2014-11-06add TankOnTank.debug(...)Jérémy Zurcher1-1/+0
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-05Player: add unitEntry(Pawn) and revertUnitEntry(Pawn)Jérémy Zurcher1-0/+12
2014-11-05Pawn: add getPreviousTile()Jérémy Zurcher1-0/+5
2014-11-05Pawn: enter/rotate/move/attack -> move() and attack()Jérémy Zurcher2-6/+4
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 Zurcher2-0/+13
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-05PosisblePaths: fix cost computationJérémy Zurcher1-6/+6
2014-11-05PossiblePaths: fix findAllPaths(...) roadMarch overriding when trying adjacentsJérémy Zurcher1-4/+4
2014-11-05Board: findBestEntry(...) returns Orientation, not TileJérémy Zurcher1-5/+5
2014-11-05Pawn,Unit: add enter(int cost)Jérémy Zurcher1-0/+1
2014-11-05PossiblePaths: first call init(Pawn, Tile from) then build(Tile to)Jérémy Zurcher1-9/+6
2014-11-05PossiblePaths: support int init(Pawn pawn, Tile from, Tile to)Jérémy Zurcher1-6/+12
2014-11-05Board: add Tile getAdjTileAt(Tile, Orientation) and Tile findBestEntry(Pawn, ...Jérémy Zurcher1-0/+63
2014-11-05Tile,Hex: int costFrom(Pawn, Orientation, boolean) -> int costFrom(Pawn, Orie...Jérémy Zurcher3-12/+10