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.
Enemy Class Reference
#include <Enemy.h>
Public Member Functions | |
Enemy (int seed) | |
Constructor that sets inital x and y with random seed. | |
int | get_x () |
X value accessor. | |
int | get_y () |
Y value accessor. | |
void | reset (int seed, N5110 &lcd) |
Mutator to reset enemy to edge with random seed, and creates an animation on death. |
Detailed Description
Enemy Class:
- Defines instances of Enemies for a 2D shooter game
- Date:
- May 2020
Definition at line 14 of file Enemy.h.
Constructor & Destructor Documentation
Enemy | ( | int | seed ) |
Member Function Documentation
Generated on Tue Sep 20 2022 19:04:42 by
