summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/engine
AgeCommit message (Expand)AuthorFilesLines
2015-12-24Hex: blockLineOfSightFrom(Tile) -> blockLineOfSight(Tile, Tile)Jérémy Zurcher2-6/+9
2015-12-24PathBuilder: give more weight to objectivesJérémy Zurcher1-1/+1
2015-12-24PathBuilder: fix error msgJérémy Zurcher1-1/+1
2015-12-24Revert "PathBuilder: always search for path even if distance is < 2, to check...Jérémy Zurcher1-1/+9
2015-12-24ObjectiveSet: respond to isObjectiveFor() taking peristence into accountJérémy Zurcher2-0/+17
2015-12-21PathBuilder: use printToErr on errorJérémy Zurcher1-0/+1
2015-12-21PathBuilder: always search for path even if distance is < 2, to check for obj...Jérémy Zurcher1-9/+1
2015-12-21PathBuilder: choosePath: clears it all and then add the choosen pathJérémy Zurcher1-6/+6
2015-12-21PathBuilder: extract clearPaths() from clear()Jérémy Zurcher1-0/+5
2015-12-21Map0Hex: isObjective(Tile) -> isObjectiveFor(Tile,Pawn) : says no if already ...Jérémy Zurcher2-2/+2
2015-12-21PathBuilder: fitness takes objectives into accountJérémy Zurcher2-0/+2
2015-12-21Board: sprinkle with some finalJérémy Zurcher1-9/+12
2015-12-18cleanup tree using fix_javaJérémy Zurcher10-22/+0
2015-12-18Game: Factory knows about regions and provide themJérémy Zurcher3-9/+10
2015-12-16HeadedPawn: draw overlays over the headJérémy Zurcher2-6/+10
2015-12-16HeadedPawn: draw the head over the bodyJérémy Zurcher1-2/+2
2015-12-14Pawn: support EXIT movesJérémy Zurcher1-0/+4
2015-12-07Meteorology: add isNight()Jérémy Zurcher1-0/+5
2015-11-21PathBuilder: fix fitness computationJérémy Zurcher1-3/+3
2015-11-21Path: fix fitness initialisationJérémy Zurcher1-0/+4
2015-11-21Board: w,dw,s are floats not intJérémy Zurcher1-3/+3
2015-11-20Board,Map: each Map impelementation owns it's own ConfigJérémy Zurcher1-2/+4
2015-11-11PathBuilder: add Path.fitness and use it in findAllPaths() and choosePath()Jérémy Zurcher2-7/+20
2015-11-11PathBuilder: add stupid choosePath()Jérémy Zurcher1-0/+15
2015-11-09DicAnimation: dimension has to be given at constructionJérémy Zurcher1-4/+9
2015-11-05add and use Pawn.canBreak()Jérémy Zurcher1-0/+1
2015-11-05add and use Pawn.preventDefenseOn(Tile)Jérémy Zurcher1-0/+1
2015-10-30SearchBoard: remove unnecessary check on last NodeJérémy Zurcher1-3/+0
2015-10-30SearchBoard: add fixLineOfSight, unset losBlocked and return true if dst reachedJérémy Zurcher1-3/+16
2015-10-29SearchBoard: fix possibleTargetsFrom()Jérémy Zurcher1-20/+14
2015-10-29Tile: constructor without params set empty stackJérémy Zurcher1-0/+1
2015-10-29SearchBoard : add buildLineOfSight(...) needed for testsJérémy Zurcher1-0/+6
2015-10-29SearchBoard : use private attribute losBlocked, do not recompute to set attac...Jérémy Zurcher1-35/+26
2015-10-29Attack : fix typoJérémy Zurcher1-1/+1
2015-10-29SearchBoard: validatePathAngle -> validateFireAngle + fix, works like isFlank...Jérémy Zurcher1-18/+15
2015-10-29SearchBoard: fix isFlankAttack()Jérémy Zurcher1-4/+6
2015-10-29Pawn: add isClearAttack()Jérémy Zurcher1-1/+6
2015-10-29HeadedPawn: add protected constructor without parametersJérémy Zurcher1-0/+6
2015-10-29SearchBoard: pawn -> shooterJérémy Zurcher1-15/+14
2015-10-29SearchBoard: simplify clearVisibility logicJérémy Zurcher1-6/+6
2015-10-28SearchBoard: isFlankAttack takes care of border case where los goes between 2...Jérémy Zurcher1-1/+8
2015-07-19welcome RustAndDustJérémy Zurcher35-0/+4218