Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Explosive Race - Dynamite.h

Dynamite.h

Caricato da: RiccardoG97
Scarica il programma completo

  1. #ifndef DYNAMITE_H_INCLUDED
  2. #define DYNAMITE_H_INCLUDED
  3. #include "allegro.h"
  4.  
  5. class Dynamite
  6. {
  7. public:
  8.     Dynamite ( void );
  9.     ~Dynamite ( void );
  10.     void makeDynamite ( BITMAP * );
  11.     bool moveDynamite ( int );
  12.     void setXDynamite ( void );
  13.     int getX ( void );
  14.     int getY ( void );
  15. private:
  16.     PALETTE colors;
  17.     BITMAP *dynamite;
  18.     int xDynamite, yDynamite;
  19. };
  20.  
  21.  
  22. #endif // DYNAMITE_H_INCLUDED