asdf
Dependencies: NokiaLCD XMIT_IR mbed
Fork of 4180_mP_WirelessPong_revC by
Diff: pong/pong.h
- Revision:
- 20:a74fe4d43ec0
diff -r 5a4be4519de5 -r a74fe4d43ec0 pong/pong.h --- /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