void close(){ net_close(); input_close(); physics_close(); console_close(); test_logic_close(); // the functions are smart enough to not close if they never initialized }
void Simulator::close() { physics_close(); }