BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

include/cCollision.h

Committer:
Willheisen
Date:
2016-04-11
Revision:
16:5c3d61584f51
Parent:
15:3782eb2bc312
Child:
32:029962133529
Child:
38:418278e5eb6b

File content as of revision 16:5c3d61584f51:

#ifndef CCOLLISION_H
#define CCOLLISION_H

#include "cMatrice.h"
#include "cForme.h"

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

#endif