PINK: added ParlSqPink and PubPink

This commit is contained in:
whiterandrek 2018-03-23 13:37:52 +02:00 committed by Eugene Sandulenko
parent f8de0028f2
commit 7f5e2e69e8
3 changed files with 30 additions and 4 deletions

View File

@ -226,10 +226,10 @@ static Object* createObject(int objectId){
return new ModuleProxy;
//case kPDAButtonActor:
// return new PDAButtonActor;
//case kParlSqPink:
// return new ParlSqPink;
//case kPubPink:
// return new PubPink;
case kParlSqPink:
return new ParlSqPink;
case kPubPink:
return new PubPink;
case kSeqTimer:
return new SeqTimer;
case kSequence:

View File

@ -64,4 +64,18 @@ LeadActor::State LeadActor::getState() const {
return _state;
}
void ParlSqPink::toConsole() {
debug("ParlSqPink: _name = %s", _name.c_str());
for (int i = 0; i < _actions.size(); ++i) {
_actions[i]->toConsole();
}
}
void PubPink::toConsole() {
debug("PubPink: _name = %s", _name.c_str());
for (int i = 0; i < _actions.size(); ++i) {
_actions[i]->toConsole();
}
}
} // End of namespace Pink

View File

@ -60,6 +60,18 @@ private:
Sequencer *_sequencer;
};
class ParlSqPink : public LeadActor {
public:
void toConsole();
};
class PubPink : public LeadActor {
public:
void toConsole();
};
} // End of namespace Pink
#endif