CObstacleInstance.h 271 B

123456789101112
  1. #pragma once
  2. struct DLL_EXPORT CObstacleInstance
  3. {
  4. int uniqueID;
  5. int ID; //ID of obstacle (defines type of it)
  6. int pos; //position on battlefield
  7. template <typename Handler> void serialize(Handler &h, const int version)
  8. {
  9. h & ID & pos & uniqueID;
  10. }
  11. };