Owen Cavender 201159294

Dependencies:   mbed Gamepad2

GameEngine.h

Committer:
el17oc
Date:
2020-05-28
Revision:
8:997f90c88246
Child:
9:a69a6a06dddf

File content as of revision 8:997f90c88246:

#ifndef GAMEENGINE_H
#define GAMEENGINE_H

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



class GameEngine
{


public:
    GameEngine();
    ~GameEngine();
    
    
    void print_scores(N5110 &lcd);
    void print_display_time(N5110 &lcd);
    void get_time(Timer &timer);
    void get_LEDs(Gamepad &pad);
    Vector2D get_Applepos(N5110 &lcd);
    

private:

    float _realtime;
    int Reset_value;
    float _display_time;
};


#endif