00001 #ifndef VENTANA_H
00002 #define VENTANA_H
00003
00004 #include <Gosu/Gosu.hpp>
00005
00006 #include "Aranya.h"
00007 #include "Enemigo.h"
00008 #include "Obstaculo.h"
00009 #include "Nivel.h"
00010 #include <vector>
00011 #include <iostream>
00012
00013 using namespace std;
00014
00021
00022 class Ventana: public Gosu::Window{
00023 public:
00026 Ventana();
00028 ~Ventana();
00031 void update();
00034 void draw();
00037 void buttonDown(Gosu::Button B);
00040 bool needsCursor()const;
00042 void EleccionMenu(Gosu::Button B);
00043 void EleccionNivel(Gosu::Button B);
00046 int width();
00049 int height();
00051
00052
00053 private:
00054 int modo_,nivelelegido_;
00056 int width_,height_;
00058 Gosu::Image *image_pause_,*image_creditos_;
00059 bool pause_,creditos_;
00060 Gosu::Font *fuente_;
00061 Aranya *minyimi;
00062 Menu *menu;
00063 Nivel *nivel;
00064 };
00065
00066 #endif
00067