summaryrefslogtreecommitdiff
path: root/src/resources/map/mapobjectlist.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 14:57:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 14:57:40 +0300
commit211aab93fed3462f875b66c3aecf0bfc98c3467a (patch)
tree4c93a86a46be6f3256d645b65379c01181ed45a2 /src/resources/map/mapobjectlist.h
parentbc38561388687e964872231b8a9b488c48e988b8 (diff)
downloadplus-211aab93fed3462f875b66c3aecf0bfc98c3467a.tar.gz
plus-211aab93fed3462f875b66c3aecf0bfc98c3467a.tar.bz2
plus-211aab93fed3462f875b66c3aecf0bfc98c3467a.tar.xz
plus-211aab93fed3462f875b66c3aecf0bfc98c3467a.zip
Move mapobjectlayer into separate file.
Diffstat (limited to 'src/resources/map/mapobjectlist.h')
-rw-r--r--src/resources/map/mapobjectlist.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/resources/map/mapobjectlist.h b/src/resources/map/mapobjectlist.h
new file mode 100644
index 000000000..a4801c821
--- /dev/null
+++ b/src/resources/map/mapobjectlist.h
@@ -0,0 +1,45 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2004-2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef RESOURCES_MAP_MAPOBJECTLIST_H
+#define RESOURCES_MAP_MAPOBJECTLIST_H
+
+#include "resources/map/mapobject.h"
+
+#include <vector>
+
+#include "localconsts.h"
+
+class MapObjectList final
+{
+ public:
+ MapObjectList() :
+ objects()
+ {
+ }
+
+ A_DELETE_COPY(MapObjectList)
+
+ std::vector<MapObject> objects;
+};
+
+#endif // RESOURCES_MAP_MAPOBJECTLIST_H