/*========================================================
tank
par Martin Robinson
c'est un enemy qui tire sur le ARWING
==========================================================
preprocessor*/

#pragma once
#ifndef _TANK
#define _TANK

#include "shell.hpp"
#include "sprite.hpp"
#include "bullet.hpp"
#include "point.hpp"
#include <math.h>
#include <cstdlib>

/*========================================================
classe
========================================================*/

class tank : public sprite{
    float _sightRadius;
    double _rad;
    int _a,
        _cooldown;
public:
    tank();
    tank(const shell&);

    bool watch(const sprite&);
    bullet shoot(const sprite&, const shell&);

};


#endif
