\hypertarget{classDrawBufferClass}{\section{\-Draw\-Buffer\-Class \-Class \-Reference}
\label{classDrawBufferClass}\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}}
}


{\ttfamily \#include $<$\-Draw\-Buffer.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classDrawBufferClass_a28d5a78efaae55d446a9baf6c7ae9c7b}{\-Draw\-Buffer\-Class} ()
\item 
void \hyperlink{classDrawBufferClass_a3a793156afd2d31619ad4157ce9c7d82}{update} ()
\item 
void \hyperlink{classDrawBufferClass_a795e22847ebc33c946a6fa71e75a0566}{draw\-Buffered\-Text} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int x, int y, std\-::string text, int frame\-Time, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_a03ab5041da33ca0409a5a63b8d680e4f}{draw\-Buffered\-Box} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int left, int top, int right, int bottom, int frame\-Time, \hyperlink{classBWAPI_1_1Color}{\-B\-W\-A\-P\-I\-::\-Color} color=\hyperlink{namespaceBWAPI_1_1Colors_a87b028e7af5f10340ad84500464c7ad6}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}, bool is\-Solid=false, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_a04218552af983869f2af87317f89ef9b}{draw\-Buffered\-Circle} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int x, int y, int radius, int frame\-Time, \hyperlink{classBWAPI_1_1Color}{\-B\-W\-A\-P\-I\-::\-Color} color=\hyperlink{namespaceBWAPI_1_1Colors_a87b028e7af5f10340ad84500464c7ad6}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}, bool is\-Solid=false, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_a88c9b5fa7bf3fde9cd12b054968428b0}{draw\-Buffered\-Ellipse} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int x, int y, int radius\-X, int radius\-Y, int frame\-Time, \hyperlink{classBWAPI_1_1Color}{\-B\-W\-A\-P\-I\-::\-Color} color=\hyperlink{namespaceBWAPI_1_1Colors_a87b028e7af5f10340ad84500464c7ad6}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}, bool is\-Solid=false, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_a9a7cd26619531bf522eff6571d9915c3}{draw\-Buffered\-Dot} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int x, int y, int frame\-Time, \hyperlink{classBWAPI_1_1Color}{\-B\-W\-A\-P\-I\-::\-Color} color=\hyperlink{namespaceBWAPI_1_1Colors_a87b028e7af5f10340ad84500464c7ad6}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_ae37973ca4194d5851a9b3d2ae770edc9}{draw\-Buffered\-Line} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int x1, int y1, int x2, int y2, int frame\-Time, \hyperlink{classBWAPI_1_1Color}{\-B\-W\-A\-P\-I\-::\-Color} color=\hyperlink{namespaceBWAPI_1_1Colors_a87b028e7af5f10340ad84500464c7ad6}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_a2e44b4675835b62dd6ad7b8b1f30176a}{draw\-Buffered\-Triangle} (\hyperlink{namespaceBWAPI_1_1CoordinateType_a44abdfdfcf5c0fd00406ca992937b254}{\-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum} ctype, int x1, int y1, int x2, int y2, int x3, int y3, int frame\-Time, \hyperlink{classBWAPI_1_1Color}{\-B\-W\-A\-P\-I\-::\-Color} color=\hyperlink{namespaceBWAPI_1_1Colors_a87b028e7af5f10340ad84500464c7ad6}{\-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}, bool is\-Solid=false, \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D=\hyperlink{structBufferedCategoryDef_a8a5d88c028fad3cd7ee270c49eb8116fa47ecace90d0a99f4d080f96622a07e49}{\-Buffered\-Category\-::\-Default})
\item 
void \hyperlink{classDrawBufferClass_a4ca2c4b2efcd52c9ad5774705c6a101b}{clear\-Buffer} (\hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category} \-I\-D)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
boost\-::ptr\-\_\-multimap\*
$<$ \hyperlink{BufferedItem_8h_a539f352b6a28f43a62c8f53ac54edc16}{\-Buffered\-Category}, \*
\hyperlink{classBufferedItem}{\-Buffered\-Item} $>$ \hyperlink{classDrawBufferClass_a46c179d939e483f3a535a08cb2211f99}{m\-\_\-\-Buffered\-Items}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 9 of file \-Draw\-Buffer.\-h.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classDrawBufferClass_a28d5a78efaae55d446a9baf6c7ae9c7b}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}}
\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{\-Draw\-Buffer\-Class}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Draw\-Buffer\-Class\-::\-Draw\-Buffer\-Class} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a28d5a78efaae55d446a9baf6c7ae9c7b}


\-Definition at line 11 of file \-Draw\-Buffer.\-cpp.


\begin{DoxyCode}
{
}
\end{DoxyCode}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classDrawBufferClass_a4ca2c4b2efcd52c9ad5774705c6a101b}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!clear\-Buffer@{clear\-Buffer}}
\index{clear\-Buffer@{clear\-Buffer}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{clear\-Buffer}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::clear\-Buffer} (
\begin{DoxyParamCaption}
\item[{{\bf \-Buffered\-Category}}]{\-I\-D}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a4ca2c4b2efcd52c9ad5774705c6a101b}


\-Definition at line 67 of file \-Draw\-Buffer.\-cpp.



\-References m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.erase(ID);
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a03ab5041da33ca0409a5a63b8d680e4f}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Box@{draw\-Buffered\-Box}}
\index{draw\-Buffered\-Box@{draw\-Buffered\-Box}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Box}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Box} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{left, }
\item[{int}]{top, }
\item[{int}]{right, }
\item[{int}]{bottom, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Color}}]{color = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}}, }
\item[{bool}]{is\-Solid = {\ttfamily false}, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a03ab5041da33ca0409a5a63b8d680e4f}


\-Definition at line 37 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedBox(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), left, top, right, bottom, color, isSolid));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a04218552af983869f2af87317f89ef9b}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Circle@{draw\-Buffered\-Circle}}
\index{draw\-Buffered\-Circle@{draw\-Buffered\-Circle}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Circle}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Circle} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{radius, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Color}}]{color = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}}, }
\item[{bool}]{is\-Solid = {\ttfamily false}, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a04218552af983869f2af87317f89ef9b}


\-Definition at line 42 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedCircle(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), x, y, radius, color, isSolid));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a9a7cd26619531bf522eff6571d9915c3}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Dot@{draw\-Buffered\-Dot}}
\index{draw\-Buffered\-Dot@{draw\-Buffered\-Dot}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Dot}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Dot} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Color}}]{color = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}}, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a9a7cd26619531bf522eff6571d9915c3}


\-Definition at line 52 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedDot(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), x, y, color));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a88c9b5fa7bf3fde9cd12b054968428b0}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Ellipse@{draw\-Buffered\-Ellipse}}
\index{draw\-Buffered\-Ellipse@{draw\-Buffered\-Ellipse}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Ellipse}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Ellipse} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{radius\-X, }
\item[{int}]{radius\-Y, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Color}}]{color = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}}, }
\item[{bool}]{is\-Solid = {\ttfamily false}, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a88c9b5fa7bf3fde9cd12b054968428b0}


\-Definition at line 47 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedEllipse(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), x, y, radiusX, radiusY, color, isSolid));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_ae37973ca4194d5851a9b3d2ae770edc9}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Line@{draw\-Buffered\-Line}}
\index{draw\-Buffered\-Line@{draw\-Buffered\-Line}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Line}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Line} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{x1, }
\item[{int}]{y1, }
\item[{int}]{x2, }
\item[{int}]{y2, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Color}}]{color = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}}, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_ae37973ca4194d5851a9b3d2ae770edc9}


\-Definition at line 57 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedLine(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), x1, y1, x2, y2, color));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a795e22847ebc33c946a6fa71e75a0566}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Text@{draw\-Buffered\-Text}}
\index{draw\-Buffered\-Text@{draw\-Buffered\-Text}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Text} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{std\-::string}]{text, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a795e22847ebc33c946a6fa71e75a0566}


\-Definition at line 32 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedText(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), x, y, text));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a2e44b4675835b62dd6ad7b8b1f30176a}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!draw\-Buffered\-Triangle@{draw\-Buffered\-Triangle}}
\index{draw\-Buffered\-Triangle@{draw\-Buffered\-Triangle}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{draw\-Buffered\-Triangle}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::draw\-Buffered\-Triangle} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Coordinate\-Type\-::\-Enum}}]{ctype, }
\item[{int}]{x1, }
\item[{int}]{y1, }
\item[{int}]{x2, }
\item[{int}]{y2, }
\item[{int}]{x3, }
\item[{int}]{y3, }
\item[{int}]{frame\-Time, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Color}}]{color = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Colors\-::\-Green}}, }
\item[{bool}]{is\-Solid = {\ttfamily false}, }
\item[{{\bf \-Buffered\-Category}}]{\-I\-D = {\ttfamily {\bf \-Buffered\-Category\-::\-Default}}}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a2e44b4675835b62dd6ad7b8b1f30176a}


\-Definition at line 62 of file \-Draw\-Buffer.\-cpp.



\-References \-B\-W\-A\-P\-I\-::\-Broodwar, and m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        m_BufferedItems.insert(ID, new BufferedTriangle(ctype, ID, frameTime + 
      BWAPI::Broodwar->getFrameCount(), x1, y1, x2, y2, x3, y3, color, isSolid));
}
\end{DoxyCode}
\hypertarget{classDrawBufferClass_a3a793156afd2d31619ad4157ce9c7d82}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!update@{update}}
\index{update@{update}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Draw\-Buffer\-Class\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classDrawBufferClass_a3a793156afd2d31619ad4157ce9c7d82}


\-Definition at line 15 of file \-Draw\-Buffer.\-cpp.



\-References m\-\_\-\-Buffered\-Items.


\begin{DoxyCode}
{
        for(boost::ptr_multimap<BufferedCategory, BufferedItem>::iterator it = 
      m_BufferedItems.begin(); it != m_BufferedItems.end();)
        {
                if((*it).second->isTimeUp())
                {
                        m_BufferedItems.erase(it++);
                }
                else
                {
                        (*it).second->draw();
                        ++it;
                }
        }
}
\end{DoxyCode}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classDrawBufferClass_a46c179d939e483f3a535a08cb2211f99}{\index{\-Draw\-Buffer\-Class@{\-Draw\-Buffer\-Class}!m\-\_\-\-Buffered\-Items@{m\-\_\-\-Buffered\-Items}}
\index{m\-\_\-\-Buffered\-Items@{m\-\_\-\-Buffered\-Items}!DrawBufferClass@{\-Draw\-Buffer\-Class}}
\subsubsection[{m\-\_\-\-Buffered\-Items}]{\setlength{\rightskip}{0pt plus 5cm}boost\-::ptr\-\_\-multimap$<${\bf \-Buffered\-Category}, {\bf \-Buffered\-Item}$>$ {\bf \-Draw\-Buffer\-Class\-::m\-\_\-\-Buffered\-Items}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classDrawBufferClass_a46c179d939e483f3a535a08cb2211f99}


\-Definition at line 28 of file \-Draw\-Buffer.\-h.



\-Referenced by clear\-Buffer(), draw\-Buffered\-Box(), draw\-Buffered\-Circle(), draw\-Buffered\-Dot(), draw\-Buffered\-Ellipse(), draw\-Buffered\-Line(), draw\-Buffered\-Text(), draw\-Buffered\-Triangle(), and update().



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Skynet/\-Skynet/\hyperlink{DrawBuffer_8h}{\-Draw\-Buffer.\-h}\item 
\-Skynet/\-Skynet/\hyperlink{DrawBuffer_8cpp}{\-Draw\-Buffer.\-cpp}\end{DoxyCompactItemize}
