| 41 | } |
| 42 | |
| 43 | void MenuItemSpriteExtra::setDestination(ax::Vec2 dest) { |
| 44 | _altAnim = true; |
| 45 | _startPos = m_pSprite->getPosition(); |
| 46 | _offsetPos = ax::Vec2{_startPos.x + dest.x, _startPos.y + dest.y}; |
| 47 | } |
| 48 | |
| 49 | void MenuItemSpriteExtra::setScaleMultiplier(float s) { |
| 50 | m_fScaleMult = s; |