Skip to content

Changed moveUnit so it takes moveCount into account. It now checks if...

Trieu-Giang Anh Nguyen requested to merge Iteration6 into master

Changed moveUnit so it takes moveCount into account. It now checks if movecount is over 0, and if the function returns true it subtracts 1 from moveCount.+Added resetMoveCount for resetting the movecount depending on the unit type.+Added the function to end of turn so it resets each units movecount.+Added private getAllUnitPositions and private resetMoveCountForAllUnits and added it to the endOfTurn function in gameImpl

Merge request reports