\hypertarget{classBuildingPlacer}{\section{\-Building\-Placer \-Class \-Reference}
\label{classBuildingPlacer}\index{\-Building\-Placer@{\-Building\-Placer}}
}


{\ttfamily \#include $<$\-Building\-Placer.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBuildingPlacer_aa537cefaa33e13d88b9c31b106ec31ce}{\-Building\-Placer} ()
\item 
bool \hyperlink{classBuildingPlacer_af4afdb0be54acccdc53d57c4e8b9dbf1}{can\-Build\-Here} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type) const 
\item 
bool \hyperlink{classBuildingPlacer_a96339782c5ed6e0a32f1823d159533f9}{can\-Build\-Here\-With\-Space} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type) const 
\item 
bool \hyperlink{classBuildingPlacer_a83f8d03acfbfb1174128c272b77a6039}{can\-Build\-Here\-With\-Space} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} build\-Dist) const 
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} \hyperlink{classBuildingPlacer_a7b923d5823cc9c14b96ee284473935da}{get\-Build\-Location} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type) const 
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} \hyperlink{classBuildingPlacer_affc43e4a30048c0b841e1dc34d5610cd}{get\-Build\-Location\-Near} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type) const 
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} \hyperlink{classBuildingPlacer_ada1661bb7fb897f1422b6f9006897160}{get\-Build\-Location\-Near} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} build\-Dist) const 
\item 
bool \hyperlink{classBuildingPlacer_a87b07abbe061930a60159b29a628ae7a}{buildable} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_a2e2ad199e293564b2c8eab0073490c88}{y}) const 
\item 
void \hyperlink{classBuildingPlacer_a63b3b63e178fff9aef4db7bb67071887}{reserve\-Tiles} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height)
\item 
void \hyperlink{classBuildingPlacer_a35d34a4616e15706d34178a0c122e6f9}{free\-Tiles} (\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} position, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height)
\item 
void \hyperlink{classBuildingPlacer_a4282ec13984b9d42203461d977e3dc94}{set\-Build\-Distance} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} distance)
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBuildingPlacer_a2d4e02c808b17628822abc9b086cc356}{get\-Build\-Distance} () const 
\item 
bool \hyperlink{classBuildingPlacer_ad6abbef9ce3706db2113df6ccf9fde08}{is\-Reserved} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_a2e2ad199e293564b2c8eab0073490c88}{y}) const 
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBuildingPlacer_aa537cefaa33e13d88b9c31b106ec31ce}{\index{\-Building\-Placer@{\-Building\-Placer}!\-Building\-Placer@{\-Building\-Placer}}
\index{\-Building\-Placer@{\-Building\-Placer}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{\-Building\-Placer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Building\-Placer\-::\-Building\-Placer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBuildingPlacer_aa537cefaa33e13d88b9c31b106ec31ce}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_aa537cefaa33e13d88b9c31b106ec31ce_cgraph}
\end{center}
\end{figure}




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBuildingPlacer_a87b07abbe061930a60159b29a628ae7a}{\index{\-Building\-Placer@{\-Building\-Placer}!buildable@{buildable}}
\index{buildable@{buildable}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{buildable}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Building\-Placer\-::buildable} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{x, }
\item[{{\bf int}}]{y}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_a87b07abbe061930a60159b29a628ae7a}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a87b07abbe061930a60159b29a628ae7a_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a87b07abbe061930a60159b29a628ae7a_icgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_af4afdb0be54acccdc53d57c4e8b9dbf1}{\index{\-Building\-Placer@{\-Building\-Placer}!can\-Build\-Here@{can\-Build\-Here}}
\index{can\-Build\-Here@{can\-Build\-Here}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{can\-Build\-Here}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Building\-Placer\-::can\-Build\-Here} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_af4afdb0be54acccdc53d57c4e8b9dbf1}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_af4afdb0be54acccdc53d57c4e8b9dbf1_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_af4afdb0be54acccdc53d57c4e8b9dbf1_icgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_a96339782c5ed6e0a32f1823d159533f9}{\index{\-Building\-Placer@{\-Building\-Placer}!can\-Build\-Here\-With\-Space@{can\-Build\-Here\-With\-Space}}
\index{can\-Build\-Here\-With\-Space@{can\-Build\-Here\-With\-Space}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{can\-Build\-Here\-With\-Space}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Building\-Placer\-::can\-Build\-Here\-With\-Space} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_a96339782c5ed6e0a32f1823d159533f9}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a96339782c5ed6e0a32f1823d159533f9_icgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_a83f8d03acfbfb1174128c272b77a6039}{\index{\-Building\-Placer@{\-Building\-Placer}!can\-Build\-Here\-With\-Space@{can\-Build\-Here\-With\-Space}}
\index{can\-Build\-Here\-With\-Space@{can\-Build\-Here\-With\-Space}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{can\-Build\-Here\-With\-Space}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Building\-Placer\-::can\-Build\-Here\-With\-Space} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf int}}]{build\-Dist}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_a83f8d03acfbfb1174128c272b77a6039}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a83f8d03acfbfb1174128c272b77a6039_cgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_a35d34a4616e15706d34178a0c122e6f9}{\index{\-Building\-Placer@{\-Building\-Placer}!free\-Tiles@{free\-Tiles}}
\index{free\-Tiles@{free\-Tiles}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{free\-Tiles}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Building\-Placer\-::free\-Tiles} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height}
\end{DoxyParamCaption}
)}}\label{classBuildingPlacer_a35d34a4616e15706d34178a0c122e6f9}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a35d34a4616e15706d34178a0c122e6f9_cgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_a2d4e02c808b17628822abc9b086cc356}{\index{\-Building\-Placer@{\-Building\-Placer}!get\-Build\-Distance@{get\-Build\-Distance}}
\index{get\-Build\-Distance@{get\-Build\-Distance}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{get\-Build\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-Building\-Placer\-::get\-Build\-Distance} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_a2d4e02c808b17628822abc9b086cc356}
\hypertarget{classBuildingPlacer_a7b923d5823cc9c14b96ee284473935da}{\index{\-Building\-Placer@{\-Building\-Placer}!get\-Build\-Location@{get\-Build\-Location}}
\index{get\-Build\-Location@{get\-Build\-Location}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{get\-Build\-Location}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position} {\bf \-Building\-Placer\-::get\-Build\-Location} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_a7b923d5823cc9c14b96ee284473935da}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a7b923d5823cc9c14b96ee284473935da_cgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_affc43e4a30048c0b841e1dc34d5610cd}{\index{\-Building\-Placer@{\-Building\-Placer}!get\-Build\-Location\-Near@{get\-Build\-Location\-Near}}
\index{get\-Build\-Location\-Near@{get\-Build\-Location\-Near}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{get\-Build\-Location\-Near}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position} {\bf \-Building\-Placer\-::get\-Build\-Location\-Near} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_affc43e4a30048c0b841e1dc34d5610cd}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_affc43e4a30048c0b841e1dc34d5610cd_icgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_ada1661bb7fb897f1422b6f9006897160}{\index{\-Building\-Placer@{\-Building\-Placer}!get\-Build\-Location\-Near@{get\-Build\-Location\-Near}}
\index{get\-Build\-Location\-Near@{get\-Build\-Location\-Near}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{get\-Build\-Location\-Near}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position} {\bf \-Building\-Placer\-::get\-Build\-Location\-Near} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf int}}]{build\-Dist}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_ada1661bb7fb897f1422b6f9006897160}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_ada1661bb7fb897f1422b6f9006897160_cgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_ad6abbef9ce3706db2113df6ccf9fde08}{\index{\-Building\-Placer@{\-Building\-Placer}!is\-Reserved@{is\-Reserved}}
\index{is\-Reserved@{is\-Reserved}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{is\-Reserved}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Building\-Placer\-::is\-Reserved} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{x, }
\item[{{\bf int}}]{y}
\end{DoxyParamCaption}
) const}}\label{classBuildingPlacer_ad6abbef9ce3706db2113df6ccf9fde08}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_ad6abbef9ce3706db2113df6ccf9fde08_cgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_a63b3b63e178fff9aef4db7bb67071887}{\index{\-Building\-Placer@{\-Building\-Placer}!reserve\-Tiles@{reserve\-Tiles}}
\index{reserve\-Tiles@{reserve\-Tiles}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{reserve\-Tiles}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Building\-Placer\-::reserve\-Tiles} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{position, }
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height}
\end{DoxyParamCaption}
)}}\label{classBuildingPlacer_a63b3b63e178fff9aef4db7bb67071887}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingPlacer_a63b3b63e178fff9aef4db7bb67071887_cgraph}
\end{center}
\end{figure}


\hypertarget{classBuildingPlacer_a4282ec13984b9d42203461d977e3dc94}{\index{\-Building\-Placer@{\-Building\-Placer}!set\-Build\-Distance@{set\-Build\-Distance}}
\index{set\-Build\-Distance@{set\-Build\-Distance}!BuildingPlacer@{\-Building\-Placer}}
\subsubsection[{set\-Build\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Building\-Placer\-::set\-Build\-Distance} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{distance}
\end{DoxyParamCaption}
)}}\label{classBuildingPlacer_a4282ec13984b9d42203461d977e3dc94}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-Test\-A\-I\-Module/\-Source/\hyperlink{BuildingPlacer_8h}{\-Building\-Placer.\-h}\item 
trunk/bwapi/\-Test\-A\-I\-Module/\-Source/\hyperlink{BuildingPlacer_8cpp}{\-Building\-Placer.\-cpp}\end{DoxyCompactItemize}
