\hypertarget{player_8cpp_source}{}\doxysection{player.\+cpp}
\label{player_8cpp_source}\index{src/player.cpp@{src/player.cpp}}
\mbox{\hyperlink{player_8cpp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00001}00001 }
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00012}00012 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{player_8h}{player.h}}"{}}}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00013}00013 }
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00014}\mbox{\hyperlink{struct_player_a06b5d53d568f357f77df80d0859fe8db}{00014}} \textcolor{keywordtype}{bool} \mbox{\hyperlink{struct_player_a06b5d53d568f357f77df80d0859fe8db}{Player::isPlaying}}()\textcolor{keyword}{ const }\{}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00015}00015     \textcolor{keywordflow}{return} !\mbox{\hyperlink{struct_player_a7aacef142ba14d6af7a6dfcb8ef327cd}{isEliminated}}() \&\& !\mbox{\hyperlink{struct_player_a45bd873fbf46cb105cb038b51251a812}{hasDeathAnimation}}();}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00016}00016 \}}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00017}00017 }
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00018}\mbox{\hyperlink{struct_player_a45bd873fbf46cb105cb038b51251a812}{00018}} \textcolor{keywordtype}{bool} \mbox{\hyperlink{struct_player_a45bd873fbf46cb105cb038b51251a812}{Player::hasDeathAnimation}}()\textcolor{keyword}{ const }\{}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00019}00019     \textcolor{keywordflow}{return} \mbox{\hyperlink{struct_player_a3f6353c84662c57d74aafa770773c409}{deathAnimCounter}}!=0;}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00020}00020 \}}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00021}00021 }
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00022}\mbox{\hyperlink{struct_player_a7aacef142ba14d6af7a6dfcb8ef327cd}{00022}} \textcolor{keywordtype}{bool} \mbox{\hyperlink{struct_player_a7aacef142ba14d6af7a6dfcb8ef327cd}{Player::isEliminated}}()\textcolor{keyword}{ const }\{}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00023}00023     \textcolor{keywordflow}{return} \mbox{\hyperlink{struct_player_af21f9d3b115801ee284a9c5e81bd3db5}{lives}} == 0;}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00024}00024 \}}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00025}00025 }
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00026}\mbox{\hyperlink{struct_player_a2badc28b66b2380a978db9676fec644d}{00026}} \textcolor{keywordtype}{void} \mbox{\hyperlink{struct_player_a2badc28b66b2380a978db9676fec644d}{Player::damage}}() \{}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00027}00027     -\/-\/\mbox{\hyperlink{struct_player_af21f9d3b115801ee284a9c5e81bd3db5}{lives}};}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00028}00028     \mbox{\hyperlink{struct_player_a3f6353c84662c57d74aafa770773c409}{deathAnimCounter}} = 1;}
\DoxyCodeLine{\Hypertarget{player_8cpp_source_l00029}00029 \}}

\end{DoxyCode}
