/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "stdafx.h" #include "simulation/simulationsnapshotmover.h" #include "physics/vehicle.h" namespace simulation::snapshot { void capture_mover(record &Entry, physics::Vehicle const &Mover) { Mover.SnapshotSave(Entry); } void apply_mover(physics::Vehicle &Mover, record const &Entry) { Mover.SnapshotLoad(Entry); } } // namespace simulation::snapshot