00001 00002 #ifndef MOSQUITO_H 00003 #define MOSQUITO_H 00004 00005 #include <Gosu/Gosu.hpp> 00006 #include <vector> 00007 #include <iostream> 00008 00009 using namespace std; 00010 00011 class Mosquito 00012 { 00013 public: 00014 Mosquito(Gosu::Graphics& graphics, int posX, int posY); 00015 ~Mosquito(); 00016 int posX() const; 00017 int posY() const; 00018 int width() const; 00019 int height() const; 00020 00021 vector<Gosu::Image*>& movimiento(); 00022 pair<int,int> mover() const; 00023 pair<int,int>& mover(); 00024 void muerto(bool valor); 00025 bool muerto() const; 00026 void draw(int x, int y, int z); 00027 00028 private: 00029 vector<Gosu::Image*> movimiento_; 00030 pair <int,int> mover_; 00031 int posX_,posY_,width_,height_; 00032 bool muerto_; 00033 }; 00034 00035 #endif 00036