Andreas Garmannslund / Mbed 2 deprecated SimplePlatformGame

Dependencies:   N5110 PinDetect PowerControl mbed

Embed: (wiki syntax)

« Back to documentation index

Data Structures

Data Structures

Here are the data structures with brief descriptions:
EnemyEnemy class
EntityAn entity represents a movable character, such as the player, enemies etc
GameState: Game
GameOverState: Game Over
HighscoreA highscore element consists of initials and a score
InputManagerUsed to manage user input from buttons and thumb joystick
JoystickJoystick class
MainMenuState: Main Menu
NoteA note is given by its frequency and beat
PointSimple objects with a position (x,y) and velocity (vx, vy)
RectangleRectangle with position (x and y) and dimensions (width and height)
SoundSound uses a piezo buzzer connect to a PWMOut to output sound
StateAbstract class for states in the program's main finite state machine. All state implementations is derived from this abstract class
StateManagerFinite State Machine for program flow
SubmitHighscoreState: Submit Highscore Displays a screen where the user is promted to input his or her initials
TitleScreenUsed to display the splash screen which is shown when turning the device on