aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_hide.cpp
diff options
context:
space:
mode:
authorwhiterandrek2018-06-03 14:24:59 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitda0adc92a2cc1af0da78a4e612f382e1e5b42bd0 (patch)
tree773ba0a3694c59516b9c38cc3133d3508909eb2f /engines/pink/objects/actions/action_hide.cpp
parent442f725a5d2d36183fdc41d7b050beb4aa4fd8fa (diff)
downloadscummvm-rg350-da0adc92a2cc1af0da78a4e612f382e1e5b42bd0.tar.gz
scummvm-rg350-da0adc92a2cc1af0da78a4e612f382e1e5b42bd0.tar.bz2
scummvm-rg350-da0adc92a2cc1af0da78a4e612f382e1e5b42bd0.zip
PINK: reformat Action's code
Diffstat (limited to 'engines/pink/objects/actions/action_hide.cpp')
-rw-r--r--engines/pink/objects/actions/action_hide.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/engines/pink/objects/actions/action_hide.cpp b/engines/pink/objects/actions/action_hide.cpp
index 1732d2d967..a2435c4ab9 100644
--- a/engines/pink/objects/actions/action_hide.cpp
+++ b/engines/pink/objects/actions/action_hide.cpp
@@ -26,11 +26,11 @@
namespace Pink {
-void Pink::ActionHide::deserialize(Archive &archive) {
- Action::deserialize(archive);
+void ActionHide::toConsole() {
+ debug("\tActionHide: _name = %s", _name.c_str());
}
-void ActionHide::start(bool unk_startNow) {
+void ActionHide::start() {
debug("Actor %s has now ActionHide %s", _actor->getName().c_str(), _name.c_str());
_actor->endAction();
}
@@ -39,10 +39,4 @@ void ActionHide::end() {
debug("ActionHide %s of Actor %s is ended", _name.c_str(), _actor->getName().c_str());
}
-void ActionHide::toConsole() {
- debug("\tActionHide: _name = %s", _name.c_str());
-}
-
-ActionHide::~ActionHide() {}
-
} //End of namespace Pink