PINK: JANITORIAL: fixed local vars naming
This commit is contained in:
parent
d60265d7d4
commit
736e94ce39
1 changed files with 6 additions and 6 deletions
|
@ -117,18 +117,18 @@ void PDAMgr::goToPage(const Common::String &pageName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PDAMgr::onLeftButtonClick(Common::Point point) {
|
void PDAMgr::onLeftButtonClick(Common::Point point) {
|
||||||
Actor* _rightHand = _globalPage->findActor(kRightHand);
|
Actor* rightHand = _globalPage->findActor(kRightHand);
|
||||||
if (_rightHand)
|
if (rightHand)
|
||||||
static_cast<ActionStill*>(_rightHand->getAction())->setFrame(1);
|
static_cast<ActionStill*>(rightHand->getAction())->setFrame(1);
|
||||||
Actor *actor = _game->getDirector()->getActorByPoint(point);
|
Actor *actor = _game->getDirector()->getActorByPoint(point);
|
||||||
if (actor)
|
if (actor)
|
||||||
actor->onLeftClickMessage();
|
actor->onLeftClickMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PDAMgr::onLeftButtonUp() {
|
void PDAMgr::onLeftButtonUp() {
|
||||||
Actor* _rightHand = _globalPage->findActor(kRightHand);
|
Actor* rightHand = _globalPage->findActor(kRightHand);
|
||||||
if (_rightHand)
|
if (rightHand)
|
||||||
static_cast<ActionStill*>(_rightHand->getAction())->setFrame(0);
|
static_cast<ActionStill*>(rightHand->getAction())->setFrame(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PDAMgr::onMouseMove(Common::Point point) {
|
void PDAMgr::onMouseMove(Common::Point point) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue