summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
AgeCommit message (Expand)AuthorFilesLines
2014-10-29Map,Unit: simplify show/hide functionsJérémy Zurcher3-31/+3
2014-10-29Pawn,Board: give current AnimationSequence size when asking Pawn for itJérémy Zurcher2-9/+9
2014-10-29Pawn: add boolean canBeAttacked(Pawn other)Jérémy Zurcher2-0/+2
2014-10-29Map: possibleTargets and attackAssists are Board.PawnCollection, activablePaw...Jérémy Zurcher1-5/+5
2014-10-28Board: fix buildMoveAssists -> collectMoveAssistsJérémy Zurcher1-5/+7
2014-10-28Board: add PawnSet, remove TileListJérémy Zurcher3-18/+27
2014-10-28TileSet,Hex: do not crash callint iterator().next() when emptyJérémy Zurcher1-0/+1
2014-10-28Tile: create stack at Tile constructionJérémy Zurcher1-4/+2
2014-10-28Tile: getIterator() -> iterator(), getTopPawn() goes privateJérémy Zurcher3-11/+18
2014-10-28use 4 atlases, set Unit overlaysJérémy Zurcher2-6/+6
2014-10-28add TileSet extends LinkedHashSet<Tile> implements Board.TileCollectionJérémy Zurcher1-0/+57
2014-10-28Add interface Board.TileCollection extends Collection<Tile>Jérémy Zurcher2-18/+34
2014-10-28TileList: use Collection interfaceJérémy Zurcher1-13/+2
2014-10-28SearchBoard: moves is a SetJérémy Zurcher3-8/+23
2014-10-28TileList: extends ArrayList<Tile>, has a default overlay index, has methods h...Jérémy Zurcher1-33/+14
2014-10-28Board: swallows ArrayList<Vector3> finalPathJérémy Zurcher1-2/+8
2014-10-27Board: do not use GridPoint2, use Pawn, Tile and pawn.getTile()Jérémy Zurcher2-112/+44
2014-10-26Board,Map: possiblePaths is a TileList tooJérémy Zurcher1-12/+9
2014-10-23Map,Board: use TileList and HexList for moves and attacksJérémy Zurcher1-68/+22
2014-10-23add TileList and HexListJérémy Zurcher1-0/+70
2014-10-22Pawn: has a ref to current and prev TileJérémy Zurcher2-31/+40
2014-10-22Pawn: revertPosition() calls setPosition()Jérémy Zurcher1-1/+1
2014-10-22Board: addAnimation(Animation) -> protectedJérémy Zurcher1-1/+1
2014-10-22Pawn: add setOnTile(Tile, Orientation)Jérémy Zurcher2-2/+8
2014-10-22Board: remove getPawnPosAt(...)Jérémy Zurcher1-6/+1
2014-10-22Board: remove getTile(GridPoint2) and getTileSafe(GirdPoint2)Jérémy Zurcher1-20/+10
2014-10-22Bawn,Board: simplify getPawnPosAt(...)Jérémy Zurcher2-8/+6
2014-10-22Board: neigbours is no more GridPoint2[] but Tile[]Jérémy Zurcher1-24/+11
2014-10-22code reorderJérémy Zurcher1-15/+15
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher3-17/+24
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-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