\hypertarget{GameObject_8hpp_source}{}\doxysection{Game\+Object.\+hpp}
\label{GameObject_8hpp_source}\index{include/GameObject.hpp@{include/GameObject.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ GAMEOBJECT\_HPP}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ GAMEOBJECT\_HPP}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ "{}Component.hpp"{}}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classGameObject}{GameObject}}\ \{}
\DoxyCodeLine{00014\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00020\ \ \ \ \ \mbox{\hyperlink{classGameObject}{GameObject}}(std::string\ name);}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00025\ \ \ \ \ \mbox{\hyperlink{classGameObject_ab82dfdb656f9051c0587e6593b2dda97}{\string~GameObject}}();}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00036\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classGameObject_a55e8c4dff07bdf40e9eb0bda3fb17bba}{Update}}(SDL\_Event\ e,\ \textcolor{keywordtype}{int}\ frame,\ std::vector<std::string>\ broadcastList);}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00045\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classGameObject_a4018df48b4df0fc4b1db520fcad1ba6c}{Render}}(SDL\_Renderer\ *ren);}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classGameObject_a0d33d826d709a1e4496e568193fb9c57}{AddComponent}}(\mbox{\hyperlink{classComponent}{Component}}\ *c);}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00059\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classGameObject_ae603a4ad1a0110ef90f51156cb1e7166}{RemoveComponent}}(\mbox{\hyperlink{classComponent}{Component}}\ *c);}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00066\ \ \ \ \ \textcolor{keyword}{const}\ std::vector<Component*>\ \mbox{\hyperlink{classGameObject_ab396480ccd35a5b6ce2f94c03738c54e}{ListComponents}}();}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00073\ \ \ \ \ std::string\ \mbox{\hyperlink{classGameObject_a74ce03d596c95cf6ebb8105c02260e7f}{GetName}}();}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00075\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00076\ \ \ \ \ std::vector<Component\ *>\ m\_components;}
\DoxyCodeLine{00077\ \ \ \ \ std::string\ m\_name;}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ \};}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
