Target Library
Dependents: GameProject_Prototype
Target.h
- Committer:
- ll14c4p
- Date:
- 2017-05-02
- Revision:
- 10:45a0af3e607c
- Child:
- 11:5b2be6934e1b
File content as of revision 10:45a0af3e607c:
#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_velocity(Vector2D v); Vector2D get_velocity(); private: int n; int _x; int _y; Vector2D _velocity; }; #endif