Hugo Hu / Mbed 2 deprecated BRAVEHEART

Dependencies:   mbed N5110 ShiftReg PinDetect

Auto generated API documentation and code listings for BRAVEHEART

Classes

Achievement State : Submit Highscore Displays a screen where the user is promted to input his or her initials
Achievement An achievement element consists of all records made
CoverPage Used to display the splash screen which is shown when turning the device on
Enemy Enemy class
Entity An entity represents a movable character, such as the player, enemies etc
Game State : Game
GameOver State : Game Over
Highscore A highscore element consists of initials and a score
InputManager Used to manage user input from buttons and thumb joystick
Joystick Joystick class
MainMenu State : Main Menu
Note A note is given by its frequency and beat
Point Simple objects with a position (x,y) and velocity (vx, vy)
Rectangle Rectangle with position (x and y) and dimensions (width and height)
Sound Sound uses a piezo buzzer connect to a PWMOut to output sound
State Abstract class for states in the program's main finite state machine. All state implementations is derived from this abstract class
StateManager Finite State Machine for program flow

Code

Namespaces

Image Images: Arrays consisting of 1 (opaque) or 0 (blank)
SFX Sound effects. Commonly used notes