Put the identical parts of the simulator state into a base class that they can be referenced from when adressing the common fields.