ELEC2645 (2018/19) / Mbed 2 deprecated el17zl

Dependencies:   mbed

Fork of el17zl by Zhenwen Liao

Ppl/Ppl.h

Committer:
franklzw
Date:
2019-04-09
Revision:
4:750d3f9b54de
Child:
5:b50ce6160013

File content as of revision 4:750d3f9b54de:

#ifndef PPL_H
#define PPL_H

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


class Ppl
{

public:
    Ppl();
    ~Ppl();
    void init(int x0, int y0);
    void draw(N5110 &lcd);
    void check();
    /// accessors and mutators
    Vector2D get_pos();
    void set_pos(Vector2D p);
    
private:

    int _x;
    int _y;
};
#endif