summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 14:49:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 14:49:16 +0300
commitbc38561388687e964872231b8a9b488c48e988b8 (patch)
tree5f478d74a1bf52fb21088aea994a67cf55c2ca36 /src/resources/map/maplayer.h
parente80e2536085d2a2f0d971007eb00c662ccfc5fda (diff)
downloadplus-bc38561388687e964872231b8a9b488c48e988b8.tar.gz
plus-bc38561388687e964872231b8a9b488c48e988b8.tar.bz2
plus-bc38561388687e964872231b8a9b488c48e988b8.tar.xz
plus-bc38561388687e964872231b8a9b488c48e988b8.zip
Move mapoject into separate file.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index f6eff689c..7da75a6f8 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -28,6 +28,8 @@
#include "listeners/configlistener.h"
+#include "resources/map/mapobject.h"
+
#include "being/actor.h"
#include <string>
@@ -39,18 +41,6 @@ class MapItem;
class MapRowVertexes;
class SpecialLayer;
-class MapObject final
-{
- public:
- MapObject(const int type0, const std::string &data0) :
- type(type0), data(data0)
- {
- }
-
- int type;
- std::string data;
-};
-
class MapObjectList final
{
public: