\hypertarget{PhysicsEngine_8hpp_source}{}\doxysection{Physics\+Engine.\+hpp}
\label{PhysicsEngine_8hpp_source}\index{include/PhysicsEngine.hpp@{include/PhysicsEngine.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ PHYSICSENGINE\_HPP}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ PHYSICSENGINE\_HPP}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}IPhysicsComponent.hpp"{}}}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classPhysicsEngine}{PhysicsEngine}}\ \{}
\DoxyCodeLine{00012\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00016\ \ \ \ \ \mbox{\hyperlink{classPhysicsEngine_a7fc9180ea453680df0b863fa157c5b92}{PhysicsEngine}}();}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00021\ \ \ \ \ \mbox{\hyperlink{classPhysicsEngine_ae5f076ee99bbfdbc79ab2d27366d8476}{\string~PhysicsEngine}}();}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classPhysicsEngine_aaa69a81964d980456a6ac48816d2f756}{AddComponent}}(\mbox{\hyperlink{classIPhysicsComponent}{IPhysicsComponent}}*\ newComponent);}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classPhysicsEngine_a30d283b6067980e42765340dea6eb62a}{Update}}();}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classPhysicsEngine_a65b58126356b154d20e3081ccb6a402e}{SetGravity}}(\textcolor{keywordtype}{float}\ newGravity);}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00049\ \ \ \ \ \textcolor{keywordtype}{float}\ \mbox{\hyperlink{classPhysicsEngine_aac07745baaaa47e949089444ecd41247}{m\_gravity}}\ =\ 2.0f;}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00054\ \ \ \ \ std::vector<IPhysicsComponent*>\ \mbox{\hyperlink{classPhysicsEngine_add4a407cb22c67709b399c68c99b621e}{m\_components}};}
\DoxyCodeLine{00055\ \};}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
