Helios Lyons / Mbed 2 deprecated ELEC2645_Project_mc18hal

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Army.h Source File

Army.h

00001 #ifndef ARMY_H
00002 #define ARMY_H
00003 
00004 #include "mbed.h"
00005 #include "N5110.h"
00006 #include "Gamepad.h"
00007 
00008 /** Army.h
00009 * @brief Defines variables and methods for the invader army.
00010 * @author Helios A. Lyons
00011 * @date April, 2020
00012 */
00013  
00014 class Army
00015 {
00016 public:
00017  
00018     Army();
00019     ~Army();
00020     
00021     void create_army();
00022     void create_boss();
00023     void move_army(int move_distance);
00024     void draw_army(N5110 &lcd);
00025     void set_start_pos();
00026     
00027  
00028 private:
00029     int _x;
00030     int _y;
00031     int _move_distance;
00032     //boolean _move_left();
00033  
00034 };
00035 #endif