示例#1
0
void Engine_destroy()
{
	Input_destroy();
	
	Logic_destroy();
	
	Physics_destroy();
	
	Timer_destroy();
	
	Graphics_destroy();
}
示例#2
0
/**
 * \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);
}