summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
AgeCommit message (Expand)AuthorFilesLines
2015-02-18add engine.Order and engine.OrderListJérémy Zurcher2-0/+16
2015-02-18PathBuilder: add initRotation(Pawn, Orientation), may not be usedJérémy Zurcher1-0/+7
2015-02-18ObjectivesSet: add int modifiedCount()Jérémy Zurcher1-0/+5
2015-02-18Board: clear Move and Path Pool at disposeJérémy Zurcher3-15/+28
2015-02-18Board,Map: add attack(Pawn, Pawn, boolean) to recompute and validate attackJérémy Zurcher1-0/+6
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 Zurcher2-2/+12
2015-02-18SearchBoard: add isClearAttack(Tile, List<Node>)Jérémy Zurcher1-0/+10
2015-02-18Attack: set (Pawn attacker) constructor parameterJérémy Zurcher2-3/+6
2015-02-18Attack: cleanup Pawn.engagement->Pawn.attackJérémy Zurcher2-12/+12
2015-02-18SearchBoard: collectAttacks -> canAttack(...) do not use Pawn.engagementJérémy Zurcher2-10/+5
2015-01-22engine.Pawn.Engagement -> engine.AttackJérémy Zurcher2-22/+27
2015-01-21PathBuilder: setExit() do not add a tile in path if to==fromJérémy Zurcher1-2/+4
2015-01-21Board: findBestEntry return Orientation.opposite()Jérémy Zurcher1-1/+1
2015-01-21Objective[Set]: move from game to engine packageJérémy Zurcher2-0/+122
2015-01-20PossiblePaths -> PathBuilderJérémy Zurcher1-2/+2
2015-01-19StateEscape: if exit from unit hex, build stay path, add runtime exitHex vali...Jérémy Zurcher1-2/+3
2015-01-19PossiblePaths: add boolean canExit(Orientation o)Jérémy Zurcher1-0/+21
2015-01-19Tile,Hex: add exitCost()Jérémy Zurcher1-0/+1
2015-01-19Board: strongly link getAdjTileAt() with getSide()Jérémy Zurcher1-6/+6
2015-01-19Board: findBestEntry must use opposite Orientation to compute costs and roadm...Jérémy Zurcher1-0/+1
2015-01-19Board: setAdjacentTiles() uses getAdjTileAt()Jérémy Zurcher1-6/+6
2015-01-18PossiblePaths: add getExitMove()Jérémy Zurcher2-5/+7
2015-01-18Move: add static getEnter() and getSet()Jérémy Zurcher1-12/+16
2015-01-18Board: getSetPawnOntoAnimation() does nothing if destination Tile is OffMapJérémy Zurcher1-1/+3
2015-01-18PossiblePaths: add error message when getMove() cant find unique PathJérémy Zurcher1-1/+3
2015-01-18Board: remove useless setPawnOnto(... , float)Jérémy Zurcher1-7/+2
2015-01-18remove Pawn.Movement class, use Move insteadJérémy Zurcher3-95/+62
2015-01-18add engine/Move extends PathJérémy Zurcher2-1/+144
2015-01-18Tile: add toString()Jérémy Zurcher1-0/+5
2015-01-18PossiblePaths: fix double dispose()Jérémy Zurcher1-1/+0
2015-01-17PossiblePaths: extract Vector3Iterator into self class PathIteratorJérémy Zurcher2-67/+74
2015-01-16PossiblePath: is DisposableJérémy Zurcher1-1/+8
2015-01-16Path: Poolable extracted out of PossiblePathsJérémy Zurcher2-25/+61
2015-01-15PossiblePaths: add inner class Path(cost, roadMarch, [tiles])Jérémy Zurcher1-76/+80
2015-01-12Board,Map: regroup possiblePaths manipulations in MapJérémy Zurcher1-1/+0
2015-01-08PossiblePaths: getPath is publicJérémy Zurcher1-1/+1
2015-01-08PossiblePaths: improve printToErr()Jérémy Zurcher1-3/+3
2015-01-08PossiblePaths: fix getPath to return asked path not always the firstJérémy Zurcher1-2/+2
2015-01-08SearchBoard: getNode is protectedJérémy Zurcher1-1/+1
2015-01-08Board: getTileOffset() is protectedJérémy Zurcher1-1/+1
2015-01-08Board: each constructor must initialise sides[] arrayJérémy Zurcher1-3/+9
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
2015-01-02use promote_us.mp3 and promote_ge.mp3Jérémy Zurcher1-6/+9
2015-01-02remove engine/gfx/Image: use Sprite insteadJérémy Zurcher3-84/+22
2015-01-02Board: use Sprite instead of Image for board textureJérémy Zurcher1-8/+7
2014-12-17Pawn: add translate(float, float)Jérémy Zurcher1-0/+5
2014-12-17DiceAnimation: add translate(), remove set(int, float, float)Jérémy Zurcher1-7/+6
2014-12-16hud: set(...) -> setPosition(...)Jérémy Zurcher1-1/+1