summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
AgeCommit message (Expand)AuthorFilesLines
2014-10-31Map,States: implement infantry move after successfull attackJérémy Zurcher4-3/+23
2014-10-31add game/states/StateBreakJérémy Zurcher1-0/+88
2014-10-31update TODO file and TODO/FIXME commentsJérémy Zurcher2-2/+2
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 Zurcher2-14/+14
2014-10-30BattleFake: remove useless GridPoint2Jérémy Zurcher1-1/+0
2014-10-30Pawn: remove boolean canBeAttacked(Pawn) -> use boolean canAttack(Pawn)Jérémy Zurcher1-6/+0
2014-10-29Map: silence wrong debug outputJérémy Zurcher1-3/+2
2014-10-29rename buildXxxYyy(...) -> collectXxxYyy(...)Jérémy Zurcher4-16/+16
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 Zurcher2-57/+56
2014-10-29Unit: use common consturctorJérémy Zurcher1-2/+2
2014-10-29Map: code reorderJérémy Zurcher1-10/+10
2014-10-29Map: activatedPawns is a Board.PawnCollectionJérémy Zurcher2-3/+5
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 Zurcher7-142/+118
2014-10-29Map: remove useless HexSet and UnitSet classes, use TileSet and PawnSetJérémy Zurcher1-21/+5
2014-10-29Pawn: add boolean canBeAttacked(Pawn other)Jérémy Zurcher1-0/+6
2014-10-29StateCommon: remove unused fromJérémy Zurcher1-2/+0
2014-10-29StateAnimation: do nothing with from and toJérémy Zurcher1-4/+0
2014-10-29Map: possibleTargets and attackAssists are Board.PawnCollection, activablePaw...Jérémy Zurcher3-33/+33
2014-10-29Unit: add ATTACK_ASSIST overlayJérémy Zurcher1-0/+6
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 Zurcher2-3/+13
2014-10-28Move and Rotate States: adapt to new moveablePawns definitionJérémy Zurcher3-38/+39
2014-10-28moveAssists -> UnitSet moveablePawns, include selected Pawn if can moveJérémy Zurcher1-34/+33
2014-10-28Unit: add overlays methods showMoveable(), showAttack(), showTarget()Jérémy Zurcher1-1/+18
2014-10-28Unit: add getHex()Jérémy Zurcher1-0/+5
2014-10-28TileSet,Hex: do not crash callint iterator().next() when emptyJérémy Zurcher1-0/+1
2014-10-28Tile: getIterator() -> iterator(), getTopPawn() goes privateJérémy Zurcher1-2/+1
2014-10-28Map: add 'Hex getHexAt(float x, float y)'Jérémy Zurcher2-4/+7
2014-10-28States: do not use Pawn but UnitJérémy Zurcher6-61/+61
2014-10-28Player: Pawn promote(Pawn pawn) -> Unit promote(Unit unit)Jérémy Zurcher1-5/+5
2014-10-28Hex: add Unit getUnit()Jérémy Zurcher1-0/+6
2014-10-28use 4 atlases, set Unit overlaysJérémy Zurcher3-28/+37
2014-10-28Board: add Board.HexList and Board.HexSetJérémy Zurcher2-16/+24
2014-10-28Add interface Board.TileCollection extends Collection<Tile>Jérémy Zurcher2-11/+6
2014-10-28Map,StateCommon: hidePossibleTargetsMovesAssists() goes from Map to StateCommonJérémy Zurcher3-10/+10
2014-10-28Map: replace show...() with direct call to hide() and show()Jérémy Zurcher5-44/+24
2014-10-28TileList: extends ArrayList<Tile>, has a default overlay index, has methods h...Jérémy Zurcher2-7/+7
2014-10-28Map: replace isIn...() with direct callsJérémy Zurcher4-32/+7
2014-10-28Map: replace ...Count() with direct callsJérémy Zurcher4-23/+8
2014-10-28Map: HexList are now public, replace clear...() with direct callsJérémy Zurcher3-30/+10
2014-10-28BattleFake: map.getHexSafe is dead ...Jérémy Zurcher1-17/+17
2014-10-28States: use Hex instead of GridPoint2Jérémy Zurcher6-86/+75
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