aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/camera.cpp
diff options
context:
space:
mode:
authorjohndoe1232014-03-10 17:49:08 +0100
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commita06895ad594c7dd8b56bbb96993fa7af4b4e2d59 (patch)
tree5c587d91b33e77cffa3c9bd2d1f51d6557da594d /engines/illusions/camera.cpp
parent5833ceda4b7e6eaf77ef5c51f7a47c1c7f92add1 (diff)
downloadscummvm-rg350-a06895ad594c7dd8b56bbb96993fa7af4b4e2d59.tar.gz
scummvm-rg350-a06895ad594c7dd8b56bbb96993fa7af4b4e2d59.tar.bz2
scummvm-rg350-a06895ad594c7dd8b56bbb96993fa7af4b4e2d59.zip
ILLUSIONS: Start with Camera and Input classes
Diffstat (limited to 'engines/illusions/camera.cpp')
-rw-r--r--engines/illusions/camera.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/engines/illusions/camera.cpp b/engines/illusions/camera.cpp
new file mode 100644
index 0000000000..5f8b2a0e19
--- /dev/null
+++ b/engines/illusions/camera.cpp
@@ -0,0 +1,31 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 (at your option) 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#include "illusions/camera.h"
+
+namespace Illusions {
+
+Common::Point Camera::getCurrentPan() {
+ return _currPan;
+}
+
+} // End of namespace Illusions