void Engine_destroy() { Input_destroy(); Logic_destroy(); Physics_destroy(); Timer_destroy(); Graphics_destroy(); }
/** * \brief Destroy the controller object * * Destroy and free the memory associated with the given controller * * \param pid The controller object */ void PID_destroy(PID* pid) { Timer_destroy(pid->timer); free(pid); }