4 Player::Player(Game
* agame
, Ponto pos
, Ponto speed
): Shooter(agame
, pos
, speed
) {
8 void Player::desenha() {
9 game
->desenhaMira(aim
);
15 void Player::collide(Thing
*b
) {
16 Shot
* shot
= dynamic_cast<Shot
*>(b
);
19 if (this->getPosition().x
< shot
->firedBy
->getPosition().x
)
23 std::cout
<<"I have been shot"<<std::endl
;