aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/actor.cpp
diff options
context:
space:
mode:
authorjohndoe1232014-03-11 16:41:40 +0100
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commitd92e713dea1dacce2bcc5acc842c8450191116e0 (patch)
tree817f3050c7832992197ad1ddb3a58c6d48ebe187 /engines/illusions/actor.cpp
parent971c8a0a1ddbdeaee33cd3b0f7307a0db2b73b0a (diff)
downloadscummvm-rg350-d92e713dea1dacce2bcc5acc842c8450191116e0.tar.gz
scummvm-rg350-d92e713dea1dacce2bcc5acc842c8450191116e0.tar.bz2
scummvm-rg350-d92e713dea1dacce2bcc5acc842c8450191116e0.zip
ILLUSIONS: Start with Actor
Diffstat (limited to 'engines/illusions/actor.cpp')
-rw-r--r--engines/illusions/actor.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/engines/illusions/actor.cpp b/engines/illusions/actor.cpp
new file mode 100644
index 0000000000..5185fda7e9
--- /dev/null
+++ b/engines/illusions/actor.cpp
@@ -0,0 +1,40 @@
+/* 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/actor.h"
+
+namespace Illusions {
+
+Actor::Actor()
+ : _pauseCtr(0) {
+
+}
+
+void Actor::pause() {
+ ++_pauseCtr;
+}
+
+void Actor::unpause() {
+ --_pauseCtr;
+}
+
+} // End of namespace Illusions