public void CreatesMovementTilesFor1Speed() { unit1.DecreaseSpeed(unit1.remainingSpeed - 1); actionMap.CreateActionMap(unit1, gameMap); Assert.AreEqual(6, actionMap.movementTiles.Count); }
// Draw action map public void DrawActionMap(GamePiece piece, GameMap gameMap, FogMap fogOfWarMap) { ClearPaintedTiles(); actionMap.CreateActionMap(piece, gameMap, fogOfWarMap); PaintActionMap(); }
// Update movement map and fog of war public void UpdateMaps(GameMap gameMap) { fogMap.CreateFogMap(pieces); actionMap.CreateActionMap(GetSelectedUnit(), gameMap, fogMap); }