#ifndef _tank_hh_ #define _tank_hh_ #include "vehicle.hh" #include #include #include #include "../time.hh" #include #include "../world.hh" #include "controller.hh" #include "../projectiles/grenade.hh" #include "../team.hh" class Tank : public Vehicle { GLfloat intAng; GLfloat speedF, speedS; int forward; int turn; bool fire; //make sure the angle is in reasonable limits and easy to calc for the controller //could be stupid // void fixAng( float ); int reload; void move(); // Controller * controller; public: void orderForward( int i ); void orderTurn( int i ); void orderFire(); void draw(); void drawBounding(); void key(); void action(); // virtual vector getPoints() = 0; ~Tank() { } Tank( GLfloat _posX, GLfloat _posY, GLfloat _posZ, GLfloat _angX, GLfloat _angY, Team * _team ); }; #endif