Josh Davy / Mbed 2 deprecated Flip

Dependencies:   mbed el17jd

Level/Level.h

Committer:
joshdavy
Date:
2019-04-10
Revision:
6:2ca1516ec1e2
Child:
7:68e06dda79f7

File content as of revision 6:2ca1516ec1e2:

#ifndef LEVEL_H
#define LEVEL_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Bitmap.h"

#define GRAVITY 2
/*Level Class*/


class Level {

public:
    Level();
    ~Level();
    void init(Vector2D blocks [][2],int number_of_blocks);
    void render(N5110 &lcd);


    
private:  
    Vector2D   _blocks [][2] ;
    int _number_of_blocks;
};

#endif