summaryrefslogtreecommitdiff
path: root/src/being/playerrelation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 20:02:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 20:02:59 +0300
commitcaea9420c61be39e1d835e3fa9ed34c2389aa9d5 (patch)
treeefb265160ada3ce02e5c6aa74f5cfa2155d20e89 /src/being/playerrelation.cpp
parent7b6ae053d36c94d6601276b0c2c8f4b4afaf6422 (diff)
downloadmv-caea9420c61be39e1d835e3fa9ed34c2389aa9d5.tar.gz
mv-caea9420c61be39e1d835e3fa9ed34c2389aa9d5.tar.bz2
mv-caea9420c61be39e1d835e3fa9ed34c2389aa9d5.tar.xz
mv-caea9420c61be39e1d835e3fa9ed34c2389aa9d5.zip
Move playerrelation into separate file.
Diffstat (limited to 'src/being/playerrelation.cpp')
-rw-r--r--src/being/playerrelation.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/being/playerrelation.cpp b/src/being/playerrelation.cpp
new file mode 100644
index 000000000..2b12dd6bb
--- /dev/null
+++ b/src/being/playerrelation.cpp
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2008-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/>.
+ */
+
+#include "being/playerrelation.h"
+
+#include "debug.h"
+
+PlayerRelation::PlayerRelation(const Relation relation) :
+ mRelation(relation)
+{
+}