BananaMpq.View.Infrastructure.BuildConfiguration.ComputeCellSizes C# (CSharp) Method

ComputeCellSizes() private method

private ComputeCellSizes ( ) : void
return void
        private void ComputeCellSizes()
        {
            CellHeight = AgentHeight / CellsPerAgentHeight;
            CellSize = TileSize / CellsPerTileSide;
            InvertedCellHeight = CellsPerAgentHeight / AgentHeight;
            InvertedCellWidth = CellsPerTileSide / TileSize;
            CellRadius = (int)Math.Ceiling(_agentRadius * InvertedCellWidth);
            MaxCellStep = (int)(WalkableClimb * InvertedCellHeight);
            BorderCells = (int)(BorderSize * InvertedCellWidth);
        }
BuildConfiguration