ECE 2036 Project
Dependencies: mbed wave_player 4DGL-uLCD-SE
Diff: physics.h
- Revision:
- 2:2042f29de6b7
- Parent:
- 0:cf4396614a79
diff -r c18c231cb299 -r 2042f29de6b7 physics.h --- a/physics.h Wed Nov 08 21:01:43 2017 +0000 +++ b/physics.h Thu Nov 21 16:10:57 2019 +0000 @@ -3,10 +3,10 @@ /** * The main state structure for the game. * This structure holds all the global state for the game, and is updated during - * the game loop. When you implement the "jump back" feature, this is the + * the game loop. When you implement the "jump back" feature, this is the * structure you need to save/restore. */ -struct Physics { +struct Physics { float px, py; // Ball position float vx, vy; // Ball velocity float ax, ay; // Ball acceleration