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.
Dependencies: Gamepad N5110 mbed
Background.h
00001 #ifndef BACKGROUND_H 00002 #define BACKGROUND_H 00003 00004 #include "mbed.h" 00005 #include "N5110.h" 00006 #include "Gamepad.h" 00007 #include "Player.h" 00008 00009 class Background 00010 { 00011 00012 public: 00013 Background(); 00014 ~Background(); 00015 00016 void init( ); 00017 void read_input(Gamepad &pad); 00018 void update(Gamepad &pad,N5110 &lcd); 00019 void draw(N5110 &lcd); 00020 00021 private: 00022 00023 void check_goal(Gamepad &pad,N5110 &lcd); 00024 void print_scores(N5110 &lcd); 00025 00026 Player _player; 00027 00028 Direction _d; 00029 float _mag; 00030 00031 }; 00032 00033 #endif
Generated on Tue Jul 12 2022 22:58:46 by
1.7.2