asdf
Dependencies: NokiaLCD XMIT_IR mbed
Fork of 4180_mP_WirelessPong_revC by
Diff: pong/pong.h
- Revision:
- 20:a74fe4d43ec0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pong/pong.h Tue Oct 09 23:28:34 2012 +0000 @@ -0,0 +1,19 @@ +#include "mbed.h" +#include "NokiaLCD.h" + +class pong +{ +private: + NokiaLCD *lcd; + int ball[4]; + int ballDir[2]; + int leftPaddle[4]; + int rightPaddle[4]; + int score[2]; + +public: + pong(); + void drawObjects(); + void update(double, double); + void clear(); +}; \ No newline at end of file