BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

include/cCollision.h

Committer:
clementdoreau
Date:
2016-04-11
Revision:
15:3782eb2bc312
Child:
16:5c3d61584f51

File content as of revision 15:3782eb2bc312:

#ifndef CCOLLISION_H
#define CCOLLISION_H

#include "cJeu.h"

class cCollision{
    
private:
    
    // ATTRIBUTS
        
public:
    
    // CONSTRUCTEURS
    
    cCollision();
        
    // DESTRUCTEURS
    
    ~cCollision();
    
    // METHODES
        
    bool bordDroit(const cForme &, const cMatrice &);
    bool bordGauche(const cForme &, const cMatrice &);
    bool bordBas(const cForme &, const cMatrice &);
    bool pieceBas(const cForme &, const cMatrice &);
    bool pieceGauche(const cForme &, const cMatrice &);
    bool pieceDroite(const cForme &, const cMatrice &);
};

#endif