| 307 | _particle->setRotation(scalex * (isFlippedX() ? -1.f : 1.f)); |
| 308 | } |
| 309 | void GameObject::setScaleY(float scaley) |
| 310 | { |
| 311 | Sprite::setScaleY(scaley); |
| 312 | _parentMatrix = getNodeToParentTransform(); |
| 313 | if (_hasGlow) |
| 314 | _glowSprite->setScaleY(scaley); |
| 315 | if (_hasParticle) |
| 316 | _particle->setScaleY(scaley * (isFlippedX() ? -1.f : 1.f)); |
| 317 | } |
| 318 | void GameObject::setOpacity(uint8_t opacity) |
| 319 | { |
| 320 | if (_primaryInvisible) opacity = 0; |
no outgoing calls
no test coverage detected