mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
12 lines
271 B
C
12 lines
271 B
C
|
#pragma once
|
||
|
|
||
|
struct DLL_EXPORT CObstacleInstance
|
||
|
{
|
||
|
int uniqueID;
|
||
|
int ID; //ID of obstacle (defines type of it)
|
||
|
int pos; //position on battlefield
|
||
|
template <typename Handler> void serialize(Handler &h, const int version)
|
||
|
{
|
||
|
h & ID & pos & uniqueID;
|
||
|
}
|
||
|
};
|