/**classe abstraite*/ #ifndef DEF_BLOC_H #define DEF_BLOC_H #include "Objet.h" class Deplacable; class Bloc: public Objet{ public: Bloc(const int x = 0,const int y = 0,Animation::Image = Animation::COIN, const int = 1,const int = 1); virtual bool IsCassable()=0; virtual bool IsDetruit()=0; virtual void Effet(Deplacable&, int);//reaction si un des deplacablee touche le bloc virtual bool EstDetruit(){ return m_detruit; } protected: bool m_detruit; }; #endif // DEF_BLOC_H