summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Map.java
AgeCommit message (Expand)AuthorFilesLines
2014-11-01Map: toggleAttackAssist: return booleanJérémy Zurcher1-1/+3
2014-11-01Pawn: add attack.calculus String and feed itJérémy Zurcher1-3/+8
2014-10-31Map,States: implement infantry move after successfull attackJérémy Zurcher1-2/+10
2014-10-31update TODO file and TODO/FIXME commentsJérémy Zurcher1-1/+1
2014-10-31PossiblePaths: Pawn, Tile, Orientation are publicJérémy Zurcher1-1/+1
2014-10-31coding styleJérémy Zurcher1-1/+1
2014-10-31use new PossiblePaths classJérémy Zurcher1-7/+8
2014-10-29Map: silence wrong debug outputJérémy Zurcher1-3/+2
2014-10-29rename buildXxxYyy(...) -> collectXxxYyy(...)Jérémy Zurcher1-7/+7
2014-10-29Map: dispose of SpriteAnimations and soundsJérémy Zurcher1-0/+4
2014-10-29Map: add SoundAnimationsJérémy Zurcher1-3/+25
2014-10-29Map: code cleanupJérémy Zurcher1-56/+55
2014-10-29Map: code reorderJérémy Zurcher1-10/+10
2014-10-29Map: activatedPawns is a Board.PawnCollectionJérémy Zurcher1-2/+3
2014-10-29Map: fix typo, activated pawns must call attack(target)Jérémy Zurcher1-2/+4
2014-10-29Map,Unit: simplify show/hide functionsJérémy Zurcher1-62/+52
2014-10-29Map: remove useless HexSet and UnitSet classes, use TileSet and PawnSetJérémy Zurcher1-21/+5
2014-10-29Map: possibleTargets and attackAssists are Board.PawnCollection, activablePaw...Jérémy Zurcher1-15/+10
2014-10-29Map: fix collectPossibleTargets(...) callJérémy Zurcher1-2/+2
2014-10-28Board: fix buildMoveAssists -> collectMoveAssistsJérémy Zurcher1-1/+1
2014-10-28Map: fix buildPossibleMoves(Pawn) and buildPossibleTargets(Pawn, Iterator<Paw...Jérémy Zurcher1-0/+8
2014-10-28moveAssists -> UnitSet moveablePawns, include selected Pawn if can moveJérémy Zurcher1-34/+33
2014-10-28Map: add 'Hex getHexAt(float x, float y)'Jérémy Zurcher1-0/+5
2014-10-28Board: add Board.HexList and Board.HexSetJérémy Zurcher1-5/+24
2014-10-28Add interface Board.TileCollection extends Collection<Tile>Jérémy Zurcher1-10/+5
2014-10-28Map,StateCommon: hidePossibleTargetsMovesAssists() goes from Map to StateCommonJérémy Zurcher1-7/+0
2014-10-28Map: replace show...() with direct call to hide() and show()Jérémy Zurcher1-29/+7
2014-10-28TileList: extends ArrayList<Tile>, has a default overlay index, has methods h...Jérémy Zurcher1-5/+5
2014-10-28Map: replace isIn...() with direct callsJérémy Zurcher1-25/+0
2014-10-28Map: replace ...Count() with direct callsJérémy Zurcher1-16/+1
2014-10-28Map: HexList are now public, replace clear...() with direct callsJérémy Zurcher1-27/+7
2014-10-28Map: do not use Vector2,Vector3,GridPoint2 but HexJérémy Zurcher1-78/+62
2014-10-26Board,Map: possiblePaths is a TileList tooJérémy Zurcher1-14/+10
2014-10-23Map,Board: use TileList and HexList for moves and attacksJérémy Zurcher1-30/+30
2014-10-23Map,BattleFake,StateCommon: match map APIJérémy Zurcher1-5/+4
2014-10-22Board: neigbours is no more GridPoint2[] but Tile[]Jérémy Zurcher1-2/+2
2014-10-22Tile: replace Vector2 center with int col, row; float x, y;Jérémy Zurcher1-1/+1
2014-10-21Map: add clearActivablePawns() and clearActivatedPawns()Jérémy Zurcher1-0/+10
2014-10-201 at-gun attack 1 hard-target -> no consumed APJérémy Zurcher1-4/+5
2014-10-20Map: reorderJérémy Zurcher1-10/+10
2014-10-18Map: do not clear activable and activated pawn here, states needs themJérémy Zurcher1-2/+0
2014-10-16Map*: recieves TankOnTank it constructionJérémy Zurcher1-5/+6
2014-10-15add attack animationJérémy Zurcher1-4/+32
2014-10-15Board: unselectHex(GridPoint2) -> selectHex(GridPoint2, boolean)Jérémy Zurcher1-7/+2
2014-10-14add promote actionJérémy Zurcher1-0/+8
2014-10-14Board: buildAttack(...) -> buildAttackAssists(...), clean up codeJérémy Zurcher1-2/+2
2014-10-14Board: add simpler buildPossibleTargetsFrom() based on enemy unitsJérémy Zurcher1-2/+3
2014-10-13move most of StateCommon helpers to MapJérémy Zurcher1-4/+26
2014-10-13Map: support flank attackJérémy Zurcher1-4/+10
2014-10-13Pawn: add isFlankAttack()Jérémy Zurcher1-11/+8