Helios Lyons 201239214

Dependencies:   mbed

Committer:
helioslyons
Date:
Tue Apr 14 13:22:35 2020 +0000
Revision:
5:72f59786b695
Parent:
4:c644522ff9d9
Import to Mbed Studio

Who changed what in which revision?

UserRevisionLine numberNew contents of line
helioslyons 4:c644522ff9d9 1 #ifndef ARMY_H
helioslyons 4:c644522ff9d9 2 #define ARMY_H
helioslyons 4:c644522ff9d9 3
helioslyons 4:c644522ff9d9 4 #include "mbed.h"
helioslyons 4:c644522ff9d9 5 #include "N5110.h"
helioslyons 4:c644522ff9d9 6 #include "Gamepad.h"
helioslyons 4:c644522ff9d9 7
helioslyons 4:c644522ff9d9 8 /** Army.h
helioslyons 4:c644522ff9d9 9 * @brief Defines variables and methods for the invader army.
helioslyons 4:c644522ff9d9 10 * @author Helios A. Lyons
helioslyons 4:c644522ff9d9 11 * @date April, 2020
helioslyons 4:c644522ff9d9 12 */
helioslyons 4:c644522ff9d9 13
helioslyons 4:c644522ff9d9 14 class Army
helioslyons 4:c644522ff9d9 15 {
helioslyons 4:c644522ff9d9 16 public:
helioslyons 4:c644522ff9d9 17
helioslyons 4:c644522ff9d9 18 Army();
helioslyons 4:c644522ff9d9 19 ~Army();
helioslyons 4:c644522ff9d9 20
helioslyons 4:c644522ff9d9 21 void create_army();
helioslyons 4:c644522ff9d9 22 void create_boss();
helioslyons 4:c644522ff9d9 23 void move_army(int move_distance);
helioslyons 4:c644522ff9d9 24 void draw_army(N5110 &lcd);
helioslyons 4:c644522ff9d9 25 void set_start_pos();
helioslyons 4:c644522ff9d9 26
helioslyons 4:c644522ff9d9 27
helioslyons 4:c644522ff9d9 28 private:
helioslyons 4:c644522ff9d9 29 int _x;
helioslyons 4:c644522ff9d9 30 int _y;
helioslyons 4:c644522ff9d9 31 int _move_distance;
helioslyons 4:c644522ff9d9 32 //boolean _move_left();
helioslyons 4:c644522ff9d9 33
helioslyons 4:c644522ff9d9 34 };
helioslyons 4:c644522ff9d9 35 #endif