Eduardo Nava / Mbed 2 deprecated MazeRunner_Fall2017

Dependencies:   4DGL-uLCD-SE mbed wave_player

Fork of MazeRunner_Fall2017-shell by Eduardo Nava

Revision:
1:2c6ae0fe9a2a
Parent:
0:cf4396614a79
--- a/physics.h	Fri Nov 03 18:48:48 2017 +0000
+++ b/physics.h	Fri Dec 29 15:32:31 2017 +0000
@@ -1,5 +1,6 @@
 #pragma once
 
+
 /**
  * The main state structure for the game.
  * This structure holds all the global state for the game, and is updated during
@@ -19,4 +20,14 @@
  * @param[in]  in    The current state of the system.
  * @param[in]  delta The time step, in seconds.s
  */
-void forward_euler(Physics* state, float delta);
\ No newline at end of file
+void forward_euler(Physics* state, float delta);
+
+
+/*
+*This function returns a copy of the current physics state
+* in a different memory location
+*
+*@param     Physics* curr the physics state to be copied
+*@return    Physics* the copy of the physics state
+*/
+Physics* copy_physics(Physics* curr);
\ No newline at end of file