ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el19tb

Dependencies:   mbed

GraphicEngine/GraphicEngine.h

Committer:
el19tb
Date:
2020-05-04
Revision:
3:648c9d5001be
Child:
4:aae7f8d4ab78

File content as of revision 3:648c9d5001be:

#ifndef GRAPHICENGINE_H
#define GRAPHICENGINE_H

#include "Car.h"
#include "Chicken.h"
#include "Square.h"

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


class GraphicEngine {
    
    public:
    Car *car1;
    Chicken *chick;
    
    GraphicEngine(Chicken *chicken);
    
    N5110 lcd;
    
    //initialize the LCD
    void init();
    
    //draws the chicken to the LCD screen
    void showChicken();

    //draws an individual car to the screen
    void showCar(Car car[]);
    
    void clear();
    
    void refresh();
    
    void contrast();
    
    void backLightOn();
    
};

#endif