Target Library

Dependents:   GameProject_Prototype

Target.h

Committer:
ll14c4p
Date:
2017-05-04
Revision:
13:828ede9cf8a5
Parent:
11:5b2be6934e1b
Child:
14:0f590475ba85

File content as of revision 13:828ede9cf8a5:

#ifndef TARGET_H
#define TARGET_H

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


class Target
{
    public:
    Target();
    ~Target();
    void init();
    void draw(N5110 &lcd);
    void update();
    Vector2D get_pos();
    void set_pos(Vector2D p);

    private:
    int n;
    int _x;
    int _y;
    Vector2D _velocity;

};
#endif