22#ifndef PINK_CURSOR_ACTOR_H
23#define PINK_CURSOR_ACTOR_H
25#include "common/debug.h"
28#include "pink/objects/actions/action_cel.h"
29#include "pink/objects/actors/actor.h"
35 void toConsole()
const override {
36 debugC(6, kPinkDebugLoadingObjects,
"CursorActor: _name = %s", _name.c_str());
37 for (uint i = 0; i < _actions.
size(); ++i) {
38 _actions[i]->toConsole();
42 bool isCursor()
const override {
47 if (!_action || _action->getName() != name)
49 static_cast<ActionCEL*
>(_action)->setCenter(point);
size_type size() const
Definition: array.h:316
Definition: action_cel.h:32
Definition: cursor_actor.h:33
void void void void void debugC(int level, uint32 debugChannel, MSVC_PRINTF const char *s,...) GCC_PRINTF(3