Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
Generated on Thu Jul 14 2022 22:11:37 by
 1.7.2
 1.7.2