| 289 | _particle->setPosition(pos); |
| 290 | } |
| 291 | void GameObject::setRotation(float rotation) |
| 292 | { |
| 293 | Sprite::setRotation(rotation); |
| 294 | _parentMatrix = getNodeToParentTransform(); |
| 295 | if (_hasGlow) |
| 296 | _glowSprite->setRotation(rotation); |
| 297 | if (_hasParticle) |
| 298 | _particle->setRotation(rotation); |
| 299 | } |
| 300 | void GameObject::setScaleX(float scalex) |
| 301 | { |
| 302 | Sprite::setScaleX(scalex); |
no outgoing calls
no test coverage detected