\hypertarget{ControllerComponent_8hpp_source}{}\doxysection{Controller\+Component.\+hpp}
\label{ControllerComponent_8hpp_source}\index{include/ControllerComponent.hpp@{include/ControllerComponent.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ CONTROLLERCOMPONENT\_HPP}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ CONTROLLERCOMPONENT\_HPP}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}TinyMath.hpp"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}TransformComponent.hpp"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classControllerComponent}{ControllerComponent}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{classComponent}{Component}}\ \{}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00021\ \ \ \ \ \mbox{\hyperlink{classControllerComponent}{ControllerComponent}}(\mbox{\hyperlink{classTransformComponent}{TransformComponent}}\ *\_transform,\ \mbox{\hyperlink{structVec2D}{Vec2D}}\ deltaPos);}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00026\ \ \ \ \ \mbox{\hyperlink{classControllerComponent_a2a874e5d561bdc75d5f8e75603135b0f}{\string~ControllerComponent}}();}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classControllerComponent_a15980f62cf3400a2829e78d6e0073ea1}{Update}}(SDL\_Event\ e,\ \textcolor{keywordtype}{int}\ frame,\ std::vector<std::string>\ broadcastList)\ \textcolor{keyword}{override};}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classControllerComponent_ac55c98ab7c759f014314998b9db372a4}{ShowComponentEditor}}(\textcolor{keywordtype}{bool}*\ showEditor)\ \textcolor{keyword}{override};}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ \mbox{\hyperlink{classControllerComponent_a8bf49679c87b14a4eb1e90e8046b0b67}{ComponentTypeName}}()\textcolor{keyword}{\ override\ }\{\textcolor{keywordflow}{return}\ \textcolor{stringliteral}{"{}Controller\ Component"{}};\}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00042\ \ \ \ \ \mbox{\hyperlink{structVec2D}{Vec2D}}\ deltaPos;}
\DoxyCodeLine{00043\ \ \ \ \ \mbox{\hyperlink{classTransformComponent}{TransformComponent}}\ *transform;}
\DoxyCodeLine{00044\ \};}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
