Skip to content

Commit

Permalink
PINK: added CursorActor
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterandrek authored and sev- committed Jun 28, 2018
1 parent 72dd7fa commit 2b1bc09
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions engines/pink/objects/actors/cursor_actor.h
@@ -0,0 +1,45 @@
/* 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.
*
*/

#ifndef PINK_CURSOR_ACTOR_H
#define PINK_CURSOR_ACTOR_H

#include <common/debug.h>
#include <pink/objects/actions/action.h>
#include "actor.h"

namespace Pink {

//same as actor
class CursorActor : public Actor {
public:
void toConsole() {
debug("CursorActor: _name = %s", _name.c_str());
for (int i = 0; i < _actions.size(); ++i) {
_actions[i]->toConsole();
}
}
};

}

#endif

0 comments on commit 2b1bc09

Please sign in to comment.