Joe Body / Mbed 2 deprecated ELEC2645_Project_el18jgb

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Pup.h Source File

Pup.h

00001 #ifndef PUP_H
00002 #define PUP_H
00003 
00004 #include "mbed.h"
00005 #include "N5110.h"
00006 #include "Gamepad.h"
00007 #include "Aim.h"
00008 #include "Heston.h"
00009 
00010 /** Power up Class
00011 @date april 2020
00012 */ 
00013 
00014 class Pup
00015 {
00016 
00017 public:
00018     Pup();
00019     ~Pup();
00020     void init();
00021     void draw(N5110 &lcd, bool state);
00022     void position(int x, int y);
00023     Vector2D get_pos();
00024     
00025 private:
00026 
00027     int _height;
00028     int _width;
00029     int _x;
00030     int _y;
00031 
00032 };
00033 
00034 #endif