ELEC2645 (2018/19) / Mbed 2 deprecated ll16o2l_ELEC2645

Dependencies:   mbed Gamepad

Instuctions/Instruction.h

Committer:
ll16o2l
Date:
2019-05-05
Revision:
12:1dfc34bc8382
Parent:
11:1c5c549ba75e
Child:
13:700ea0742b24

File content as of revision 12:1dfc34bc8382:

#ifndef INSTRUCTION_H
#define INSTRUCTION_H

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


class Instruction
{
public:
    Instruction();
    ~Instruction();
    void init();
    void write(N5110 &lcd);
    void control(Gamepad &pad);
    
private:
    Direction d;
    int y;
    int max_length;

};

#endif