Andreas Garmannslund / Mbed 2 deprecated SimplePlatformGame

Dependencies:   N5110 PinDetect PowerControl mbed

Auto generated API documentation and code listings for SimplePlatformGame

Classes

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
SubmitHighscore State : Submit Highscore Displays a screen where the user is promted to input his or her initials
TitleScreen Used to display the splash screen which is shown when turning the device on

Code

Namespaces

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